OpenCloudOS-Kernel/drivers/thermal/tegra
Daniel Lezcano 9272d2d43b thermal: Remove core header inclusion from drivers
As the name states "thermal_core.h" is the header file for the core
components of the thermal framework.

Too many drivers are including it. Hopefully the recent cleanups
helped to self encapsulate the code a bit more and prevented the
drivers to need this header.

Remove this inclusion in every place where it is possible.

Some other drivers did a confusion with the core header and the one
exported in linux/thermal.h. They include the former instead of the
latter. The changes also fix this.

The tegra/soctherm driver still remains as it uses an internal
function which need to be replaced.

The Intel HFI driver uses the netlink internal framework core and
should be changed to prevent to deal with the internals.

No functional changes intended.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com> # armada_thermal.c
Reviewed-by: Kunihiko Hayashi <hayashi.kunihiko@socionext.com> # uniphier_thermal.c
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> # rcar_gen3_thermal.c
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> # amlogic_thermal.c
Acked-by: Florian Fainelli <f.fainelli@gmail.com> # bcm2835_thermal.c
Acked-by: Thierry Reding <treding@nvidia.com> # tegra30-tsensor.c
Link: https://lore.kernel.org/r/20230206153432.1017282-1-daniel.lezcano@linaro.org
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2023-02-15 17:29:48 +01:00
..
Kconfig thermal/drivers/tegra: Correct compile-testing of drivers 2021-08-14 12:24:06 +02:00
Makefile thermal/drivers/tegra: Add driver for Tegra30 thermal sensor 2021-08-14 12:23:39 +02:00
soctherm-fuse.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 282 2019-06-05 17:36:37 +02:00
soctherm.c thermal/drivers/tegra: Fix set_trip_temp() deadlock 2023-01-06 14:14:48 +01:00
soctherm.h thermal: tegra: add set_trips functionality 2019-05-13 20:35:33 -07:00
tegra-bpmp-thermal.c firmware: tegra: bpmp: Use iosys-map helpers 2022-10-24 15:18:11 +02:00
tegra30-tsensor.c thermal: Remove core header inclusion from drivers 2023-02-15 17:29:48 +01:00
tegra124-soctherm.c thermal: tegra: add set_trips functionality 2019-05-13 20:35:33 -07:00
tegra132-soctherm.c thermal: tegra: add set_trips functionality 2019-05-13 20:35:33 -07:00
tegra210-soctherm.c thermal: tegra: Make tegra210_tsensor_thermtrips static 2019-05-23 21:52:47 -07:00