summaryrefslogtreecommitdiff
path: root/drivers/thermal/rcar_thermal.c
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2013-01-31 13:02:51 +0400
committerZhang Rui <rui.zhang@intel.com>2013-02-06 10:13:57 +0400
commit9dde8f86085d283042718f88eed017eccad73ab9 (patch)
treebb69ae5343995f8e5231a153dfa36c392a78543b /drivers/thermal/rcar_thermal.c
parent5e20b2e51dd13c569ea1ff65c2a57d00a84a81b0 (diff)
downloadlinux-9dde8f86085d283042718f88eed017eccad73ab9.tar.xz
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/rcar_thermal.c')
-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