thermal: Fix test of unsigned in thermal_cooling_device_cur_state_store()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 15 Dec 2009 21:46:50 +0000 (22:46 +0100)
committerLen Brown <len.brown@intel.com>
Wed, 16 Dec 2009 05:07:21 +0000 (00:07 -0500)
commitedb949185210365f107ddc5efa60df105d25e1d7
tree95bd2ee22bfa9f25cd1f30dd1267a1105622a3de
parent13c41157096f05d5037a99152b4cf9d68ef00ef7
thermal: Fix test of unsigned in thermal_cooling_device_cur_state_store()

state is unsigned long so the test did not work.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/thermal/thermal_sys.c