]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/cpu_cooling: convert 'switch' block to 'if' block in notifier
authorViresh Kumar <viresh.kumar@linaro.org>
Thu, 30 Jul 2015 07:10:32 +0000 (12:40 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Sat, 15 Aug 2015 01:26:22 +0000 (18:26 -0700)
commit6a0803afbf40ba0b45e1ab91daa8f5040a2ead89
tree3a0dc316c1cd06e65ec744e7886a8028ecedf64c
parenta8fe0208970bb7923843848a8615d437d9db5ddc
thermal/cpu_cooling: convert 'switch' block to 'if' block in notifier

We just need to take care of single event here and there is no need to
increase indentation level of most of the code (which causes lines
longer that 80 columns to break).

Kill the switch block.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/cpu_cooling.c