thermal: rcar: change type of ctemp in rcar_thermal_update_temp()
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 7 Jan 2015 01:13:11 +0000 (10:13 +0900)
committerEduardo Valentin <edubezval@gmail.com>
Wed, 7 Jan 2015 12:59:36 +0000 (08:59 -0400)
commit913015c6df9a18ad27365afed6f409c024002aab
treeb8c3ab918727fa8e713b198e09d07cbe4513836b
parent11313746547015ace605c4c347a40350753051e4
thermal: rcar: change type of ctemp in rcar_thermal_update_temp()

Since the ctemp is used for rcar_thermal_write() in
rcar_thermal_update_temp(), the type of 'ctemp' should be "u32" instead
of "int". This patch also changes type of the helper variables 'old'
and 'new'.

Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_thermal.c