linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Question] orphan platform data header
@ 2019-07-20  3:25 Masahiro Yamada
  2019-07-20 13:54 ` Arnd Bergmann
  0 siblings, 1 reply; 9+ messages in thread
From: Masahiro Yamada @ 2019-07-20  3:25 UTC (permalink / raw)
  To: Linux Kernel Mailing List
  Cc: Arnd Bergmann, Linus Torvalds, Greg Kroah-Hartman, DTML,
	linux-arm-kernel, masahiroy

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

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-07-22  7:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-20  3:25 [Question] orphan platform data header Masahiro Yamada
2019-07-20 13:54 ` Arnd Bergmann
2019-07-21  3:44   ` Masahiro Yamada
2019-07-21  9:09     ` Arnd Bergmann
2019-07-21 12:12       ` Masahiro Yamada
2019-07-21 14:15         ` Arnd Bergmann
2019-07-21 14:58           ` Masahiro Yamada
2019-07-22  6:46           ` Enrico Weigelt, metux IT consult
2019-07-22  7:24             ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).