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 năm trước cách đây
mục cha
commit
9dde8f8608
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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