thermal: Move struct thermal_attr to the private header
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 2 Apr 2020 14:27:40 +0000 (16:27 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 14 Apr 2020 09:41:12 +0000 (11:41 +0200)
commitc68df440b07f88210c5839d4507b5cbfa35e3df9
treea139765bc81d788db930464541ab4d32e22d96ab
parent8097db407a08f33236b6fa6ba8b62d669321c720
thermal: Move struct thermal_attr to the private header

The structure belongs to the thermal core internals but it is exported
in the include/linux/thermal.h

For better self-encapsulation and less impact for the compilation if a
change is made on it. Move the structure in the thermal core internal
header file.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Amit Kucheria <amit.kucheria@linaro.org>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Link: https://lore.kernel.org/r/20200402142747.8307-2-daniel.lezcano@linaro.org
drivers/thermal/thermal_core.h
include/linux/thermal.h