thermal: rcar: check every rcar_thermal_update_temp() return value
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 15 Dec 2015 01:17:40 +0000 (01:17 +0000)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 7 Jan 2016 02:06:38 +0000 (18:06 -0800)
commita1ade5653804b8eb9d14c5ba964da6d5c2f4cd30
treebaf11e7afe84c60db03f74dc7740a31927525fc6
parentca1e4558fcca68a5ac2a4e0f7834f788f9f4ac8f
thermal: rcar: check every rcar_thermal_update_temp() return value

Every rcar_thermal_update_temp() return value will be checked.

And also, rcar_thermal_get_temp() always call
rcar_thermal_update_temp() by this patch.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_thermal.c