devfreq_cooling: no need to check state with negative number
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 22 Aug 2016 08:08:06 +0000 (16:08 +0800)
committerZhang Rui <rui.zhang@intel.com>
Tue, 27 Sep 2016 06:02:16 +0000 (14:02 +0800)
commite3da1cbed64a19babe91775e21fcd8887039e711
tree4ccb47768b58cc8fa5aea9672fc959045d331345
parentd4b23c5c434a7af053782cc0f9eebee51ec71bb2
devfreq_cooling: no need to check state with negative number

We could see that state is defined as unsigned type, so it
should never be less than zero. Let' remove this check.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/devfreq_cooling.c