Skip to content

Commit 9ab0a6c

Browse files
vireshkrafaeljw
authored andcommitted
cpufreq: sh: Remove sh_cpufreq_cpu_ready()
The ->ready() callback is going away and since we don't do any important stuff in sh_cpufreq_cpu_ready(), remove it. Signed-off-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent 692a3b9 commit 9ab0a6c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

drivers/cpufreq/sh-cpufreq.c

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,16 +145,6 @@ static int sh_cpufreq_cpu_exit(struct cpufreq_policy *policy)
145145
return 0;
146146
}
147147

148-
static void sh_cpufreq_cpu_ready(struct cpufreq_policy *policy)
149-
{
150-
struct device *dev = get_cpu_device(policy->cpu);
151-
152-
dev_info(dev, "CPU Frequencies - Minimum %u.%03u MHz, "
153-
"Maximum %u.%03u MHz.\n",
154-
policy->min / 1000, policy->min % 1000,
155-
policy->max / 1000, policy->max % 1000);
156-
}
157-
158148
static struct cpufreq_driver sh_cpufreq_driver = {
159149
.name = "sh",
160150
.flags = CPUFREQ_NO_AUTO_DYNAMIC_SWITCHING,
@@ -163,7 +153,6 @@ static struct cpufreq_driver sh_cpufreq_driver = {
163153
.verify = sh_cpufreq_verify,
164154
.init = sh_cpufreq_cpu_init,
165155
.exit = sh_cpufreq_cpu_exit,
166-
.ready = sh_cpufreq_cpu_ready,
167156
.attr = cpufreq_generic_attr,
168157
};
169158

0 commit comments

Comments
 (0)