mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/3] Move the thermal zone device structure in private header
@ 2023-04-18  8:30 Daniel Lezcano
  2023-04-18  8:30 ` [PATCH v1 1/3] thermal/core: Hardening the self-encapsulation Daniel Lezcano
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Lezcano @ 2023-04-18  8:30 UTC (permalink / raw)
  To: daniel.lezcano, rafael; +Cc: rui.zhang, linux-pm, linux-kernel, thierry.reding

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-18  8:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-18  8:30 [PATCH v1 0/3] Move the thermal zone device structure in private header Daniel Lezcano
2023-04-18  8:30 ` [PATCH v1 1/3] thermal/core: Hardening the self-encapsulation Daniel Lezcano
2023-04-18  8:30 ` [PATCH v1 2/3] thermal/core: Reorder the headers inclusion Daniel Lezcano
2023-04-18  8:30 ` [PATCH v1 3/3] thermal/core: Move the thermal zone structure to the private core header Daniel Lezcano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®