]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: validate input parameters
authorThomas Sujith <sujith.thomas@intel.com>
Fri, 15 Feb 2008 05:58:50 +0000 (00:58 -0500)
committerLen Brown <len.brown@intel.com>
Fri, 15 Feb 2008 23:21:30 +0000 (18:21 -0500)
commit668d0db1ecd0548a82c3026e70382d601e641a30
tree784cf0161d60a3bd4c1b6a6d160c9657b717e83a
parentbfb99a74242a91cb3a22d9612b24f54af441a1ed
thermal: validate input parameters

Added sanity check to make sure that thermal zone
and cooling device exists.

Signed-off-by: Thomas Sujith <sujith.thomas@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/thermal/thermal.c