thermal: Fix for setting the thermal zone mode to enable/disable
authorAmit Daniel Kachhap <amit.kachhap@linaro.org>
Wed, 21 Mar 2012 11:10:01 +0000 (16:40 +0530)
committerLen Brown <len.brown@intel.com>
Thu, 22 Mar 2012 05:10:18 +0000 (01:10 -0400)
commitf1f0e2ac596f531c15b7b09ebeb8cfd011fffbd2
tree8020e9f9c8f47880b37b0745b501d79ecb09970c
parent03ee62f0b9919535a1be02f72fe8153255a7fda0
thermal: Fix for setting the thermal zone mode to enable/disable

Basically without this patch changing the mode of thermal zone
is not possible as wrong string size is passed to strncmp.

Signed-off-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/thermal/thermal_sys.c