]> 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)
commit5083324c3ae243c5f9b4ec4d977a73cfb739f4a4
tree3a0dc316c1cd06e65ec744e7886a8028ecedf64c
parent3951a2f37e51a3eb1156f339a45660387d89ada7
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