mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
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 <[email protected]> Reviewed-by: Srivatsa S. Bhat <[email protected]> [rjw: Changelog] Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
9832235f3f
commit
0b443ead71
11 changed files with 7 additions and 25 deletions
|
|
@ -1041,8 +1041,7 @@ static int sci_notifier(struct notifier_block *self,
|
|||
|
||||
sci_port = container_of(self, struct sci_port, freq_transition);
|
||||
|
||||
if ((phase == CPUFREQ_POSTCHANGE) ||
|
||||
(phase == CPUFREQ_RESUMECHANGE)) {
|
||||
if (phase == CPUFREQ_POSTCHANGE) {
|
||||
struct uart_port *port = &sci_port->port;
|
||||
|
||||
spin_lock_irqsave(&port->lock, flags);
|
||||
|
|
|
|||
Loading…
Reference in a new issue