[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230418083055.3611721-1-daniel.lezcano@linaro.org>
Date: Tue, 18 Apr 2023 10:30:52 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: daniel.lezcano@...aro.org, rafael@...nel.org
Cc: rui.zhang@...el.com, linux-pm@...r.kernel.org,
linux-kernel@...r.kernel.org, thierry.reding@...il.com
Subject: [PATCH v1 0/3] Move the thermal zone device structure in private header
The following series applies on top of the changes:
https://lore.kernel.org/all/20230413114647.3878792-1-daniel.lezcano@linaro.org/
There is no functional change, only code reordering and self-encapsulation.
The series adds a macro check in thermal_core.h in order to warn in
case a driver is including the thermal core private headers.
Then the thermal zone device structure is moved from the exported
thermal.h header to the thermal_core.h
Daniel Lezcano (3):
thermal/core: Hardening the self-encapsulation
thermal/core: Reorder the headers inclusion
thermal/core: Move the thermal zone structure to the private core
header
drivers/thermal/gov_bang_bang.c | 1 +
drivers/thermal/gov_fair_share.c | 1 +
drivers/thermal/gov_power_allocator.c | 7 ++-
drivers/thermal/gov_step_wise.c | 1 +
drivers/thermal/gov_user_space.c | 1 +
drivers/thermal/thermal_acpi.c | 1 +
drivers/thermal/thermal_core.c | 7 ++-
drivers/thermal/thermal_core.h | 79 +++++++++++++++++++++++++++
drivers/thermal/thermal_helpers.c | 1 +
drivers/thermal/thermal_hwmon.c | 1 +
drivers/thermal/thermal_netlink.c | 1 +
drivers/thermal/thermal_of.c | 1 +
drivers/thermal/thermal_sysfs.c | 1 +
drivers/thermal/thermal_trip.c | 1 +
include/linux/thermal.h | 75 -------------------------
15 files changed, 98 insertions(+), 81 deletions(-)
--
2.34.1
Powered by blists - more mailing lists