diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2014-03-19 01:54:58 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-03-19 09:10:24 -0400 |
commit | 0b443ead714f0cba797a7f2476dd756f22b5421e (patch) | |
tree | ed27366834ff0740fddbba8ce4f0e7ae59a8188e /drivers/tty/serial/sh-sci.c | |
parent | 9832235f3f880ab2e58141885e3b5ed3b158c0fb (diff) |
cpufreq: remove unused notifier: CPUFREQ_{SUSPENDCHANGE|RESUMECHANGE}
Two cpufreq notifiers CPUFREQ_RESUMECHANGE and CPUFREQ_SUSPENDCHANGE have
not been used for some time, so remove them to clean up code a bit.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
[rjw: Changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/tty/serial/sh-sci.c')
-rw-r--r-- | drivers/tty/serial/sh-sci.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/tty/serial/sh-sci.c b/drivers/tty/serial/sh-sci.c index be33d2b0613b..7e0b62602632 100644 --- a/drivers/tty/serial/sh-sci.c +++ b/drivers/tty/serial/sh-sci.c | |||
@@ -1041,8 +1041,7 @@ static int sci_notifier(struct notifier_block *self, | |||
1041 | 1041 | ||
1042 | sci_port = container_of(self, struct sci_port, freq_transition); | 1042 | sci_port = container_of(self, struct sci_port, freq_transition); |
1043 | 1043 | ||
1044 | if ((phase == CPUFREQ_POSTCHANGE) || | 1044 | if (phase == CPUFREQ_POSTCHANGE) { |
1045 | (phase == CPUFREQ_RESUMECHANGE)) { | ||
1046 | struct uart_port *port = &sci_port->port; | 1045 | struct uart_port *port = &sci_port->port; |
1047 | 1046 | ||
1048 | spin_lock_irqsave(&port->lock, flags); | 1047 | spin_lock_irqsave(&port->lock, flags); |