Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5492446ybi; Sat, 20 Jul 2019 20:47:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqyUSePtyQmfXrd1EOmgWASGOS/502Wo1ItwVnNZP+AxrDmjCOIMo32EgyecCiTGPrrF3esn X-Received: by 2002:a17:90a:fa18:: with SMTP id cm24mr67064505pjb.120.1563680822698; Sat, 20 Jul 2019 20:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563680822; cv=none; d=google.com; s=arc-20160816; b=PJwDKzD/g9wPJqQop2cti3Ah74E3SYczKGizR8yjtcEOSdBR0+ZB04Y8vX2eCPdoJp paOq975X2xY/1iM9qQ7MLtUXUGPr8XcL7ojHWK6nabVZ6jJaq0ZW2ZUjO+3VSnKJM9EA oxYyBay1KH+sWand2KdLf6sYQ46oKLkethXiHOMvtabGUVfeFFIJjdItA4x9uMEnVDGN dGm70wu9ZqKD+LRKyJ3uYSbbEYIkBE2JqMlefjHC0OsoZaHPp9DqVm2W8O8qzGUenuwD 6a4TYiDNw8DC9W5NtYZTYzt7l1H7LcM74MVMJiG8gSHyv1XsCoqJYVfEQVMwJx463KqD Jhfw== 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 :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=+i1P1EOzIYuFKSpLhOGGexoKtgfai1r9bg5dNGXa6F0=; b=WXeb/s4c8NE0IzXMoNAXpTilUZk/sv4v0b+ukvd67GV/SbRVw9lXUz2tHzGBDKu1YP 2xZIvJiK40hJoGvhWGZlERWli2Band/KuSSrVY1zsgTvOaush3qCyDbpTwdL3qkhRXRo Ut1p9U64alZ3uyOyIgz5HFvLx/0vnyYwnafJJm8koVXytSvBTf0WvapCcf2zSi+Cgiin ITiiseevXBTZMo8xUbj84mPLJOeDxDDNPwzZwZPm40J9kuizvwYjIJrmMJN9Nky542qU zU2AV8zlN1Af9UUNomWYCNtYqaFIE2zgmljIdb+j18+DEE8Dek4GBiSvxCEVU8VHS6J2 zQmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=rWZqNizH; 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 t15si5841456plo.360.2019.07.20.20.46.21; Sat, 20 Jul 2019 20:47:02 -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=rWZqNizH; 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 S1726351AbfGUDpj (ORCPT + 99 others); Sat, 20 Jul 2019 23:45:39 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:49690 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbfGUDpj (ORCPT ); Sat, 20 Jul 2019 23:45:39 -0400 Received: from mail-vs1-f49.google.com (mail-vs1-f49.google.com [209.85.217.49]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x6L3jTUn006757; Sun, 21 Jul 2019 12:45:30 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x6L3jTUn006757 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1563680730; bh=+i1P1EOzIYuFKSpLhOGGexoKtgfai1r9bg5dNGXa6F0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=rWZqNizHxDGhLXiH5RLEM1t/LUAvsgmp8EZk2jKss2AVNYPU4fdHNbMwigsoLYMLs UZE0/gzjudBE3rzE/Qh1bAbbpWMWEBhqyxX07k+ibiY0tTJQtkLW5cZ0Drmt9Um1Mi +W1GvIBSh8z6IG/egE0QRACea1V6Ej3N06iCH29ThBUqz+5siQ63qPpIm7qQUdBIly NaJ1C47+JSnH+6eArNrZ3vK40VJWjRfNyGrrP+SfXCyvkbDp8BYoqSrMQAym9DMf8s 3Z5FWGq6CI5Pqv2Zwz+2nXV3vKgrK14OVX41zB8MGi8vl8Jmv28l9R5CefDW9rghK+ Fyh6qQNdBFl2g== X-Nifty-SrcIP: [209.85.217.49] Received: by mail-vs1-f49.google.com with SMTP id a186so22376498vsd.7; Sat, 20 Jul 2019 20:45:30 -0700 (PDT) X-Gm-Message-State: APjAAAVUWjvL/brrK+krPala2k4FqbnTWkuFgGUuE7Gg4qzyKBVEE4S9 klFJGiCZK/xGwdjiLruUFc8Vz2p8k9NRn5ESKjM= X-Received: by 2002:a67:8e0a:: with SMTP id q10mr15137391vsd.215.1563680729320; Sat, 20 Jul 2019 20:45:29 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Masahiro Yamada Date: Sun, 21 Jul 2019 12:44:53 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Question] orphan platform data header To: Arnd Bergmann Cc: Linux Kernel Mailing List , Linus Torvalds , Greg Kroah-Hartman , DTML , linux-arm-kernel 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 Arnd, On Sat, Jul 20, 2019 at 10:55 PM Arnd Bergmann wrote: > > On Sat, Jul 20, 2019 at 5:26 AM Masahiro Yamada > wrote: > > > > 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? > > Generally speaking, I'd remove the board file support in another > case like this, but it's worth looking at when it was last used and by > what. > > For this file, all boards got converted to DT, and the old setup > code removed in commit ebc278f15759 ("ARM: mvebu: remove static > LED setup for netxbig boards"), four years ago, so it's a fairly > easy decision to make it DT only. Thanks. I see another case, which is difficult to make a decision. For example, drivers/spi/spi-tle62x0.c This driver supports only board-file, but the board-file is not found in upstream. Unless I am terribly missing something, there is no one who passes tle62x0_pdata to this driver. $ git grep tle62x0_pdata drivers/spi/spi-tle62x0.c: struct tle62x0_pdata *pdata; include/linux/spi/tle62x0.h:struct tle62x0_pdata { But, removing board-file support makes this driver completely useless... -- Best Regards Masahiro Yamada