From: Amit Kucheria <amit.kucheria@linaro.org>
To: linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org,
daniel.lezcano@linaro.org,
Amit Daniel Kachhap <amit.kachhap@gmail.com>,
Amit Kucheria <amit.kucheria@verdurent.com>,
Javi Merino <javi.merino@kernel.org>,
Viresh Kumar <viresh.kumar@linaro.org>,
Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Subject: [PATCH 13/14] thermal/governors: Prefix all source files with gov_
Date: Mon, 11 May 2020 17:55:01 +0530 [thread overview]
Message-ID: <b9a85d3204712f14e320504948c12712dc0b291b.1589199124.git.amit.kucheria@linaro.org> (raw)
In-Reply-To: <cover.1589199124.git.amit.kucheria@linaro.org>
Bang-bang governor source file is prefixed with gov_. Do the same for
other governors for consistency so they're easy to find in the sources.
Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
---
drivers/thermal/Makefile | 8 ++++----
drivers/thermal/{fair_share.c => gov_fair_share.c} | 0
.../thermal/{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} | 0
5 files changed, 4 insertions(+), 4 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%)
diff --git a/drivers/thermal/Makefile b/drivers/thermal/Makefile
index 8c8ed7b79915..09ff0e259d46 100644
--- a/drivers/thermal/Makefile
+++ b/drivers/thermal/Makefile
@@ -12,11 +12,11 @@ thermal_sys-$(CONFIG_THERMAL_HWMON) += thermal_hwmon.o
thermal_sys-$(CONFIG_THERMAL_OF) += of-thermal.o
# governors
-thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += fair_share.o
+thermal_sys-$(CONFIG_THERMAL_GOV_FAIR_SHARE) += gov_fair_share.o
thermal_sys-$(CONFIG_THERMAL_GOV_BANG_BANG) += gov_bang_bang.o
-thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += step_wise.o
-thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += user_space.o
-thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += power_allocator.o
+thermal_sys-$(CONFIG_THERMAL_GOV_STEP_WISE) += gov_step_wise.o
+thermal_sys-$(CONFIG_THERMAL_GOV_USER_SPACE) += gov_user_space.o
+thermal_sys-$(CONFIG_THERMAL_GOV_POWER_ALLOCATOR) += gov_power_allocator.o
# cpufreq cooling
thermal_sys-$(CONFIG_CPU_FREQ_THERMAL) += cpufreq_cooling.o
diff --git a/drivers/thermal/fair_share.c b/drivers/thermal/gov_fair_share.c
similarity index 100%
rename from drivers/thermal/fair_share.c
rename to drivers/thermal/gov_fair_share.c
diff --git a/drivers/thermal/power_allocator.c b/drivers/thermal/gov_power_allocator.c
similarity index 100%
rename from drivers/thermal/power_allocator.c
rename to drivers/thermal/gov_power_allocator.c
diff --git a/drivers/thermal/step_wise.c b/drivers/thermal/gov_step_wise.c
similarity index 100%
rename from drivers/thermal/step_wise.c
rename to drivers/thermal/gov_step_wise.c
diff --git a/drivers/thermal/user_space.c b/drivers/thermal/gov_user_space.c
similarity index 100%
rename from drivers/thermal/user_space.c
rename to drivers/thermal/gov_user_space.c
--
2.20.1
next prev parent reply other threads:[~2020-05-11 12:26 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 12:24 [PATCH 00/14] thermal core include cleanups Amit Kucheria
2020-05-11 12:24 ` [PATCH 01/14] thermal/core: Get rid of MODULE_* tags Amit Kucheria
2020-05-11 12:24 ` [PATCH 02/14] thermal/core: Replace module.h with export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 03/14] thermal/drivers/thermal_helpers: Sort headers alphabetically Amit Kucheria
2020-05-11 12:24 ` [PATCH 04/14] thermal/drivers/thermal_helpers: Include export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 05/14] thermal/drivers/thermal_hwmon: Sort headers alphabetically Amit Kucheria
2020-05-11 12:24 ` [PATCH 06/14] thermal/drivers/thermal_hwmon: Include export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 07/14] thermal/drivers/clock_cooling: Sort headers alphabetically Amit Kucheria
2020-05-11 12:24 ` [PATCH 08/14] thermal/drivers/clock_cooling: Include export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 09/14] thermal/drivers/cpufreq_cooling: Sort headers alphabetically Amit Kucheria
2020-05-11 12:24 ` [PATCH 10/14] thermal/drivers/cpufreq_cooling: Replace module.h with export.h Amit Kucheria
2020-05-11 12:24 ` [PATCH 11/14] thermal/drivers/of-thermal: Sort headers alphabetically Amit Kucheria
2020-05-11 12:25 ` [PATCH 12/14] thermal/drivers/user_space: " Amit Kucheria
2020-05-11 12:25 ` Amit Kucheria [this message]
2020-05-11 12:25 ` [PATCH 14/14] thermal/of: Rename of-thermal.c Amit Kucheria
2020-05-12 4:21 ` [PATCH 00/14] thermal core include cleanups Viresh Kumar
2020-05-22 16:49 ` Daniel Lezcano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b9a85d3204712f14e320504948c12712dc0b291b.1589199124.git.amit.kucheria@linaro.org \
--to=amit.kucheria@linaro.org \
--cc=amit.kachhap@gmail.com \
--cc=amit.kucheria@verdurent.com \
--cc=daniel.lezcano@linaro.org \
--cc=javi.merino@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=rui.zhang@intel.com \
--cc=viresh.kumar@linaro.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).