]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/of: Move thermal_trip structure to thermal.h
authorDaniel Lezcano <daniel.lezcano@linexp.org>
Fri, 22 Jul 2022 20:00:01 +0000 (22:00 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 28 Jul 2022 15:29:54 +0000 (17:29 +0200)
commit4fd7b617d4ef6d6465a48e6ce8e4ed93308e32e9
tree270b9f7242029a089ebc20dfe81ecb40232c442f
parent6a546a5f410174d9051959ade67c4ffd4c7e3cdf
thermal/of: Move thermal_trip structure to thermal.h

The structure thermal_trip is now generic and will be usable by the
different sensor drivers in place of their own structure.

Move its definition to thermal.h to make it accessible.

Cc: Alexandre Bailon <abailon@baylibre.com>
Cc: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linexp.org>
Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>
Link: https://lore.kernel.org/r/20220722200007.1839356-5-daniel.lezcano@linexp.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/thermal/thermal_core.h
include/linux/thermal.h