]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit614386bc25a7d43a524e1554aa6dc23c11868697
tree8020e9f9c8f47880b37b0745b501d79ecb09970c
parent6682c29f6b3d65836c9805778120d368a450cc79
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