From 7f4370d5401aba00c40f3a3bd4024b8f07458038 Mon Sep 17 00:00:00 2001 From: Kuninori Morimoto Date: Mon, 26 Nov 2012 02:32:06 +0000 Subject: [PATCH] --- yaml --- r: 339288 b: refs/heads/master c: c499703e64bef8f2e8ffe9ea7ee63a0a926b5530 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/thermal/rcar_thermal.c | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 6d72b13be01c..723b54926b56 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4ba115b1e1ab6b717e08e0f4e766a1d16853d217 +refs/heads/master: c499703e64bef8f2e8ffe9ea7ee63a0a926b5530 diff --git a/trunk/drivers/thermal/rcar_thermal.c b/trunk/drivers/thermal/rcar_thermal.c index 81dce23828f3..f2678ff0ed2b 100644 --- a/trunk/drivers/thermal/rcar_thermal.c +++ b/trunk/drivers/thermal/rcar_thermal.c @@ -43,6 +43,8 @@ struct rcar_thermal_priv { u32 comp; }; +#define MCELSIUS(temp) ((temp) * 1000) + /* * basic functions */ @@ -169,7 +171,7 @@ static int rcar_thermal_get_temp(struct thermal_zone_device *zone, } } - *temp = tmp; + *temp = MCELSIUS(tmp); return 0; }