thermal: exynos: Fix potential NULL pointer dereference
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 19 Aug 2013 06:28:42 +0000 (11:58 +0530)
committerEduardo Valentin <eduardo.valentin@ti.com>
Thu, 29 Aug 2013 13:37:28 +0000 (09:37 -0400)
commit91ff81cf48f0c8f9cd608acbd83f0e98a228807b
tree5653e70fbece51a7f2bd8e50dd1c11ab204a4ff3
parent02ae59dc0e49b1db6e57435553fb7d4f68732688
thermal: exynos: Fix potential NULL pointer dereference

NULL pointer was being dereferenced in its own error message.
Changed it to the correct device pointer.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Eduardo Valentin <eduardo.valentin@ti.com>
drivers/thermal/samsung/exynos_thermal_common.c