summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-01-31 09:02:51 +0000
committerZhang Rui <rui.zhang@intel.com>2013-02-06 14:13:57 +0800
commit9dde8f86085d283042718f88eed017eccad73ab9 (patch)
treebb69ae5343995f8e5231a153dfa36c392a78543b /drivers/thermal
parent5e20b2e51dd13c569ea1ff65c2a57d00a84a81b0 (diff)
downloadlinux-9dde8f86085d283042718f88eed017eccad73ab9.tar.bz2
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 {
};
#define MCELSIUS(temp) ((temp) * 1000)
-#define rcar_zone_to_priv(zone) (zone->devdata)
+#define rcar_zone_to_priv(zone) ((zone)->devdata)
/*
* basic functions