Browse Source

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>
Kuninori Morimoto 12 years ago
parent
commit
9dde8f8608
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/thermal/rcar_thermal.c

+ 1 - 1
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