From: Ralf Baechle Date: Wed, 17 Oct 2007 14:36:53 +0000 (+0100) Subject: [MIPS] Alchemy: Reformat PM code. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c30db2480e8e6db08e64eb7e6778fb00bb01266f;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [MIPS] Alchemy: Reformat PM code. Signed-off-by: Ralf Baechle --- diff --git a/arch/mips/au1000/common/power.c b/arch/mips/au1000/common/power.c index 6f57f72a7d57..54047d69b820 100644 --- a/arch/mips/au1000/common/power.c +++ b/arch/mips/au1000/common/power.c @@ -403,9 +403,9 @@ static int pm_do_freq(ctl_table * ctl, int write, struct file *file, } - /* We don't want _any_ interrupts other than - * match20. Otherwise our au1000_calibrate_delay() - * calculation will be off, potentially a lot. + /* + * We don't want _any_ interrupts other than match20. Otherwise our + * au1000_calibrate_delay() calculation will be off, potentially a lot. */ intc0_mask = save_local_and_disable(0); intc1_mask = save_local_and_disable(1); @@ -414,6 +414,7 @@ static int pm_do_freq(ctl_table * ctl, int write, struct file *file, au1000_calibrate_delay(); restore_local_and_enable(0, intc0_mask); restore_local_and_enable(1, intc1_mask); + return retval; }