[Question] orphan platform data header
From: Masahiro Yamada
Date: Fri Jul 19 2019 - 23:27:26 EST
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