diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2015-09-04 13:47:23 +0530 |
---|---|---|
committer | Alex Shi <alex.shi@linaro.org> | 2016-04-01 13:24:06 +0800 |
commit | 4ce568e2f657228aa98633291be3f7a4dd97f1f0 (patch) | |
tree | 5e8eb6211de208fcc931c0ceb0feb42bc8069d8b /arch/arm | |
parent | 030e32505ba728c7cb06a5183632a31c22728720 (diff) |
PM / OPP: Rename opp init/free table routines
free-table routines are opposite of init-table ones, and must be named
to make that clear. Opposite of 'init' is 'exit', but those doesn't suit
really well.
Replace 'init' with 'add' and 'free' with 'remove'.
Reported-by: Pavel Machek <pavel@ucw.cz>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Shawn Guo <shawnguo@kernel.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit f0489a5ef4d011e29f78021ad13a543e8769d619)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
Conflicts:
rm drivers/cpufreq/mt8173-cpufreq.c
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c index d51c6e99a2e9..1844bc466ef8 100644 --- a/arch/arm/mach-imx/mach-imx6q.c +++ b/arch/arm/mach-imx/mach-imx6q.c @@ -351,7 +351,7 @@ static void __init imx6q_opp_init(void) return; } - if (of_init_opp_table(cpu_dev)) { + if (of_add_opp_table(cpu_dev)) { pr_warn("failed to init OPP table\n"); goto put_node; } |