hwmon: Explicitly include correct DT includes
authorRob Herring <robh@kernel.org>
Fri, 14 Jul 2023 17:46:04 +0000 (11:46 -0600)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 21 Aug 2023 13:04:29 +0000 (06:04 -0700)
commit39f034386fc023780a505ed02ca40e57e4031e23
tree176226fc029405c0df362797a85c14ec591449e6
parent6698cbd624bf3ad4822453b0c3941bf0220f283f
hwmon: 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/20230714174607.4057185-1-robh@kernel.org
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
37 files changed:
drivers/hwmon/ad7418.c
drivers/hwmon/ads7828.c
drivers/hwmon/adt7475.c
drivers/hwmon/as370-hwmon.c
drivers/hwmon/aspeed-pwm-tacho.c
drivers/hwmon/g762.c
drivers/hwmon/gxp-fan-ctrl.c
drivers/hwmon/ina2xx.c
drivers/hwmon/lm63.c
drivers/hwmon/lm75.c
drivers/hwmon/lm85.c
drivers/hwmon/lm90.c
drivers/hwmon/lochnagar-hwmon.c
drivers/hwmon/ltq-cputemp.c
drivers/hwmon/max31730.c
drivers/hwmon/max6621.c
drivers/hwmon/max6697.c
drivers/hwmon/mcp3021.c
drivers/hwmon/nsa320-hwmon.c
drivers/hwmon/pmbus/dps920ab.c
drivers/hwmon/pmbus/ibm-cffps.c
drivers/hwmon/pmbus/ir38064.c
drivers/hwmon/pmbus/max20730.c
drivers/hwmon/pmbus/mp5023.c
drivers/hwmon/pmbus/mpq7932.c
drivers/hwmon/pmbus/q54sj108a2.c
drivers/hwmon/pmbus/tps53679.c
drivers/hwmon/pmbus/ucd9000.c
drivers/hwmon/pmbus/ucd9200.c
drivers/hwmon/sbtsi_temp.c
drivers/hwmon/scpi-hwmon.c
drivers/hwmon/tmp421.c
drivers/hwmon/tmp464.c
drivers/hwmon/tps23861.c
drivers/hwmon/ultra45_env.c
drivers/hwmon/vexpress-hwmon.c
drivers/hwmon/w83773g.c