]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: Move trip point structure definition to private header
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 2 Apr 2020 14:27:42 +0000 (16:27 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 14 Apr 2020 09:41:12 +0000 (11:41 +0200)
commitfe44ad022f7dd54d86a9803eb1a686d53dc1aa57
treeb31bfdb29265547a014fd73b79f718fe255b4ce7
parentb92b7db841cf8f934eaf077f102c1e9b0a6c6d8d
thermal: Move trip point structure definition to private header

The struct thermal_trip is only used by the thermal internals, it is
pointless to export the definition in the global header.

Move the structure to the thermal_core.h internal header.

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-4-daniel.lezcano@linaro.org
drivers/thermal/thermal_core.h
include/linux/thermal.h