[PATCH 3/6] thermal/cpu_cooling: convert 'switch' block to 'if' block in notifier