aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-01-31 04:02:51 -0500
committerZhang Rui <rui.zhang@intel.com>2013-02-06 01:13:57 -0500
commit9dde8f86085d283042718f88eed017eccad73ab9 (patch)
treebb69ae5343995f8e5231a153dfa36c392a78543b /drivers/thermal
parent5e20b2e51dd13c569ea1ff65c2a57d00a84a81b0 (diff)
thermal: rcar: use parenthesis on macro
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/thermal')
-rw-r--r--drivers/thermal/rcar_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 89979ff10e27..47b2b227c91e 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -47,7 +47,7 @@ struct rcar_thermal_priv {
47}; 47};
48 48
49#define MCELSIUS(temp) ((temp) * 1000) 49#define MCELSIUS(temp) ((temp) * 1000)
50#define rcar_zone_to_priv(zone) (zone->devdata) 50#define rcar_zone_to_priv(zone) ((zone)->devdata)
51 51
52/* 52/*
53 * basic functions 53 * basic functions