Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp4778785ybi; Sat, 20 Jul 2019 06:00:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqx8uEX8aoY86VtGG4kZUA6d9i6fp7pFHsnvvj1pJVZp4H11sBSPzUzbF4uaa0RDr+gbQSzq X-Received: by 2002:a17:90a:c391:: with SMTP id h17mr64494089pjt.131.1563627653188; Sat, 20 Jul 2019 06:00:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563627653; cv=none; d=google.com; s=arc-20160816; b=bUZ5fRRqE7tqJR+gHWyWA9ao1x8WHgopefCokc8IJDnRtIlFMlHb/ZhS/W7wwejOQQ JhuW2aLL8VsL0mdtVzmDyfZ4N6M4cmAsOLxiKPAUuyMDk5tUCCLQlZpIRXkeg8P69rs9 gApRwyQRSsPniIsWP055f/I/qzW4wFCF6Qv+CHYuqC6E/N9dCk42bKHi4dxKiTotUm+R +c7sXGtI/XnfcgXJ8zkIOE22OoZf85WWMs7OxnKJurDH+y+cf5+MRedCgVv2i3IAergq QoWW8oVimf8GsPpfnay2lMPI/VgpLJNOaANloJKQ5AUdTUp1kI4oSCowH3f2528G3knO iypw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature:dkim-filter; bh=/cy4zkl9MBndlJPf309omN2x5BYB6od3xL14Bqq951k=; b=eD5qwgDaL9b9hZvsi6L/oiM95h5/wSzm/FCVP4mundGDcck4sk2tDqKbMV5eHqFrlH lxzqHKhjgIJ0ITdHflehVNOtLKCZA9FzDKw49XwliCXirnf6CS7O6mapZ3J5i1upRydr rJ634ZADOoUm2cTU2nzEe9jpOJQqMfOc7qfF7UGo3ZXID5Nr7qblg85W4BYl5ceFYaLj jX8jf9nb77TZViKhkmPrQ35rU4XOkO8E92RlG+Nu1v/zKP5IPzAfcXoFMiNbqEYKfMVz gpMbf5MYMKZqj2XueMGfFsCvz0Z8bNkYTkyPntWRVgIOFoACn51XBn5+3zpRqineSkax +iNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=YBL9SX8n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z19si4800898pfa.19.2019.07.20.06.00.36; Sat, 20 Jul 2019 06:00:53 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=YBL9SX8n; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390520AbfGTD1C (ORCPT + 99 others); Fri, 19 Jul 2019 23:27:02 -0400 Received: from conssluserg-02.nifty.com ([210.131.2.81]:51747 "EHLO conssluserg-02.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728767AbfGTD1B (ORCPT ); Fri, 19 Jul 2019 23:27:01 -0400 Received: from mail-ua1-f52.google.com (mail-ua1-f52.google.com [209.85.222.52]) (authenticated) by conssluserg-02.nifty.com with ESMTP id x6K3QYjE010762; Sat, 20 Jul 2019 12:26:35 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com x6K3QYjE010762 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1563593195; bh=/cy4zkl9MBndlJPf309omN2x5BYB6od3xL14Bqq951k=; h=From:Date:Subject:To:Cc:From; b=YBL9SX8nGcdiSDqzzqhaCwQW4V/n+XvKYlm8sCuY3fUDN7SPLhzmnRVzsx+SE2Jvf eNaza/lW5/OwBI17PmoK/W9nWBdI5rD0xRnCiA80SmEY5HHnBg2i6sttwv9d8Nz4ZM LSLSw/f4andPN3Nu8ltIaR4rVSOoLCVtCoMFlQF2hNPMVk+TnA4CgnKNOoIUJLcwtl RbfI2kFtP1wwHK/N6MC31iIO3u3tHCSCeLd0hsPWAiU44o6YLn2dqmJ+oZp52Rg0YM ZWpFt/AQCsZ3RU0a0uNa+oq0v6pzg9kUYaJlO4jcDeZse1mgR6GLePk5DV6rzd0QwO Xw84/ASDn7gzQ== X-Nifty-SrcIP: [209.85.222.52] Received: by mail-ua1-f52.google.com with SMTP id 8so13297460uaz.11; Fri, 19 Jul 2019 20:26:34 -0700 (PDT) X-Gm-Message-State: APjAAAVWV+RQ+XS/6XeqH4EMrQmUh/uipTf8oLr741AgajDR1kvw5ktT 05QtnOr6Al18wqF/j71peGq6OcnRQdTAK9tjvyM= X-Received: by 2002:ab0:5ea6:: with SMTP id y38mr35301733uag.40.1563593193773; Fri, 19 Jul 2019 20:26:33 -0700 (PDT) MIME-Version: 1.0 From: Masahiro Yamada Date: Sat, 20 Jul 2019 12:25:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: [Question] orphan platform data header To: Linux Kernel Mailing List Cc: Arnd Bergmann , Linus Torvalds , Greg Kroah-Hartman , DTML , linux-arm-kernel , masahiroy@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi. I see several platform-data headers that are not used in upstream. For instance, please look at this driver: drivers/leds/leds-netxbig.c If I understood it correctly, this driver supports both device tree and legacy board-file. I grepped 'netxbig_led_platform_data', but I only found the driver and platform_data header. No board-file in upstream. masahiro@grover:~/ref/linux$ git grep netxbig_led_platform_data drivers/leds/leds-netxbig.c: struct netxbig_led_platform_data *pdata, drivers/leds/leds-netxbig.c: struct netxbig_led_platform_data *pdata) drivers/leds/leds-netxbig.c: struct netxbig_led_platform_data *pdata) drivers/leds/leds-netxbig.c: struct netxbig_led_platform_data *pdata = dev_get_platdata(&pdev->dev); include/linux/platform_data/leds-kirkwood-netxbig.h:struct netxbig_led_platform_data { So, what shall we do? Drop the board-file support? Or, keep it in case somebody is still using their board-files in downstream? -- Best Regards Masahiro Yamada