leds: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:46:50 +0000 (11:46 -0600)
committerLee Jones <lee@kernel.org>
Fri, 28 Jul 2023 09:02:32 +0000 (10:02 +0100)
commit3192f141240336dd6d7675ff374757006fed1916
tree48a096fd71b60fc5a0872cfc1701ffaf5851c1d0
parent3c19c79146e1522f52918a5d335523e48f669a1b
leds: Explicitly include correct DT includes

The DT of_device.h and of_platform.h date back to the separate
of_platform_bus_type before it as merged into the regular platform bus.
As part of that merge prepping Arm DT support 13 years ago, they
"temporarily" include each other. They also include platform_device.h
and of.h. As a result, there's a pretty much random mix of those include
files used throughout the tree. In order to detangle these headers and
replace the implicit includes with struct declarations, users need to
explicitly include the correct includes.

Signed-off-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230714174651.4058753-1-robh@kernel.org
Signed-off-by: Lee Jones <lee@kernel.org>
13 files changed:
drivers/leds/leds-ariel.c
drivers/leds/leds-cpcap.c
drivers/leds/leds-cr0014114.c
drivers/leds/leds-is31fl32xx.c
drivers/leds/leds-mlxreg.c
drivers/leds/leds-pca9532.c
drivers/leds/leds-pm8058.c
drivers/leds/leds-pwm.c
drivers/leds/leds-spi-byte.c
drivers/leds/leds-syscon.c
drivers/leds/leds-ti-lmu-common.c
drivers/leds/leds-tlc591xx.c
drivers/leds/rgb/leds-qcom-lpg.c