]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit872549ded1eedde852106345aafc1dffefb5f26b
treeb8c3ab918727fa8e713b198e09d07cbe4513836b
parented41bbdbd0add39b05cb1708600e75278e56ea89
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