diff options
author | Paul Bolle <pebolle@tiscali.nl> | 2014-05-23 11:05:00 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-05-26 19:06:44 -0400 |
commit | 1ef546f22f14eea624681aa2793f4f07b051b68d (patch) | |
tree | a3791e360b12ceb58411a3cbfa8cc85dc3707cc2 /drivers/cpufreq/s5pv210-cpufreq.c | |
parent | 94f89e0760fa7da65c2090c26f0cf59f48221069 (diff) |
cpufreq: s5pv210: drop check for CONFIG_PM_VERBOSE
A pr_err() was added in v3.1. It was guarded by a check for
CONFIG_PM_VERBOSE. The Kconfig symbol PM_VERBOSE was removed in v3.0. So
this pr_err() has never been used. Drop that check and clean up the
message a bit.
Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/s5pv210-cpufreq.c')
-rw-r--r-- | drivers/cpufreq/s5pv210-cpufreq.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/cpufreq/s5pv210-cpufreq.c b/drivers/cpufreq/s5pv210-cpufreq.c index ab2c1a40d437..19a10b89fef7 100644 --- a/drivers/cpufreq/s5pv210-cpufreq.c +++ b/drivers/cpufreq/s5pv210-cpufreq.c | |||
@@ -175,10 +175,8 @@ static int s5pv210_target(struct cpufreq_policy *policy, unsigned int index) | |||
175 | mutex_lock(&set_freq_lock); | 175 | mutex_lock(&set_freq_lock); |
176 | 176 | ||
177 | if (no_cpufreq_access) { | 177 | if (no_cpufreq_access) { |
178 | #ifdef CONFIG_PM_VERBOSE | 178 | pr_err("Denied access to %s as it is disabled temporarily\n", |
179 | pr_err("%s:%d denied access to %s as it is disabled" | 179 | __func__); |
180 | "temporarily\n", __FILE__, __LINE__, __func__); | ||
181 | #endif | ||
182 | ret = -EINVAL; | 180 | ret = -EINVAL; |
183 | goto exit; | 181 | goto exit; |
184 | } | 182 | } |