OSDN Git Service

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)
commita24af233a1fd09002cabc05d6da248cc5656a2e1
tree3a0dc316c1cd06e65ec744e7886a8028ecedf64c
parent166529c9b6f91b97d771e2e7ebf748aadb239b44
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