[COMMON] thermal: core: Check thermal_zone mode.
authorHyeonseong Gil <hs.gil@samsung.com>
Mon, 18 Jul 2016 06:05:38 +0000 (15:05 +0900)
committerChungwoo Park <cww.park@samsung.com>
Mon, 21 May 2018 08:13:04 +0000 (17:13 +0900)
commitb4bb592d09a5ce8474a4d4f0d0e13c3ba61b9f1d
tree3fb6e6c2974d758a8e0a58b9efda272ba1a09529
parenta48fc5f1d68ba57682045fc8aee76ae441e3d22f
[COMMON] thermal: core: Check thermal_zone mode.

If mode is THERMAL_DEVICE_DISABLED,
skip reading temperature and throttling.

Change-Id: I708c9f29ee417c8f6fc941162d9aa403a88dc084
Signed-off-by: Hyeonseong Gil <hs.gil@samsung.com>
drivers/thermal/thermal_core.c