thermal: rcar: use parenthesis on macro

Signed-off-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
This commit is contained in:
Kuninori Morimoto 2013-01-31 09:02:51 +00:00 • committed by Zhang Rui
commit 9dde8f8608

View file

@ -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