Skip to content

thermal core include cleanups

Amit Kucheria linux-arm-msm linux-pm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14thermal/core: Get rid of MODULE_* tagsdrivers/thermal/thermal_core.c+0 -40 replies
2/14thermal/core: Replace module.h with export.hdrivers/thermal/thermal_core.c+1 -10 replies
3/14thermal/drivers/thermal_helpers: Sort headers alphabeticallydrivers/thermal/thermal_helpers.c+1 -10 replies
4/14thermal/drivers/thermal_helpers: Include export.hdrivers/thermal/thermal_helpers.c+1 -00 replies
5/14thermal/drivers/thermal_hwmon: Sort headers alphabeticallydrivers/thermal/thermal_hwmon.c+3 -20 replies
6/14thermal/drivers/thermal_hwmon: Include export.hdrivers/thermal/thermal_hwmon.c+1 -00 replies
7/14thermal/drivers/clock_cooling: Sort headers alphabeticallydrivers/thermal/clock_cooling.c+1 -10 replies
8/14thermal/drivers/clock_cooling: Include export.hdrivers/thermal/clock_cooling.c+1 -00 replies
9/14thermal/drivers/cpufreq_cooling: Sort headers alphabeticallydrivers/thermal/cpufreq_cooling.c+4 -40 replies
10/14thermal/drivers/cpufreq_cooling: Replace module.h with export.hdrivers/thermal/cpufreq_cooling.c+1 -10 replies
11/14thermal/drivers/of-thermal: Sort headers alphabeticallydrivers/thermal/of-thermal.c+5 -50 replies
12/14thermal/drivers/user_space: Sort headers alphabeticallydrivers/thermal/user_space.c+1 -10 replies
13/14thermal/governors: Prefix all source files with gov_drivers/thermal/Makefile drivers/thermal/gov_fair_share.c drivers/thermal/gov_power_allocator.c +2 more+4 -40 replies
14/14thermal/of: Rename of-thermal.cdrivers/thermal/Makefile drivers/thermal/thermal_of.c+1 -10 replies

Reviews trailers per patch

None of the 14 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchViresh Kumar
SeriesA-b
1/14
2/14
3/14
4/14
5/14
6/14
7/14
8/14
9/14
10/14
11/14
12/14
13/14
14/14

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/14] thermal core include cleanups

I noticed some remnants from when thermal core could be modular. While cleaning that up, I fixed up the includes to be sorted alphabetically and included export.h in files that were using EXPORT_SYMBOL* or THIS_MODULE while at the same time removing inclusion of module.h from core files.

Finally, the names of the source files for the governors and core have some inconsistencies and the last couple of patches rename them.

Build and boot tested on some ARM boards.

Amit Kucheria (14):
thermal/core: Get rid of MODULE_* tags
thermal/core: Replace module.h with export.h thermal/drivers/thermal_helpers: Sort headers alphabetically thermal/drivers/thermal_helpers: Include export.h thermal/drivers/thermal_hwmon: Sort headers alphabetically thermal/drivers/thermal_hwmon: Include export.h thermal/drivers/clock_cooling: Sort headers alphabetically thermal/drivers/clock_cooling: Include export.h thermal/drivers/cpufreq_cooling: Sort headers alphabetically thermal/drivers/cpufreq_cooling: Replace module.h with export.h thermal/drivers/of-thermal: Sort headers alphabetically thermal/drivers/user_space: Sort headers alphabetically thermal/governors: Prefix all source files with gov_ thermal/of: Rename of-thermal.c

 drivers/thermal/Makefile                               | 10 +++++-----
 drivers/thermal/clock_cooling.c                        |  3 ++-
 drivers/thermal/cpufreq_cooling.c                      | 10 +++++-----
 drivers/thermal/{fair_share.c => gov_fair_share.c}     |  0
 .../{power_allocator.c => gov_power_allocator.c}       |  0
 drivers/thermal/{step_wise.c => gov_step_wise.c}       |  0
 drivers/thermal/{user_space.c => gov_user_space.c}     |  2 +-
 drivers/thermal/thermal_core.c                         |  6 +-----
 drivers/thermal/thermal_helpers.c                      |  3 ++-
 drivers/thermal/thermal_hwmon.c                        |  6 ++++--
 drivers/thermal/{of-thermal.c => thermal_of.c}         | 10 +++++-----
 11 files changed, 25 insertions(+), 25 deletions(-)
 rename drivers/thermal/{fair_share.c => gov_fair_share.c} (100%)
 rename drivers/thermal/{power_allocator.c => gov_power_allocator.c} (100%)
 rename drivers/thermal/{step_wise.c => gov_step_wise.c} (100%)
 rename drivers/thermal/{user_space.c => gov_user_space.c} (100%)
 rename drivers/thermal/{of-thermal.c => thermal_of.c} (100%)
Signature · 1 line
2.20.1