thermal: rcar: add rcar_zone_to_priv() macro
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Mon, 26 Nov 2012 02:32:20 +0000 (02:32 +0000)
committerZhang Rui <rui.zhang@intel.com>
Mon, 26 Nov 2012 03:03:55 +0000 (11:03 +0800)
commitd12250ef8dc1bbc811d505776be053e358ba82f5
tree4b1304f49d1d9f80f88c26fbf4f60e75ab0281c6
parentc499703e64bef8f2e8ffe9ea7ee63a0a926b5530
thermal: rcar: add rcar_zone_to_priv() macro

This patch adds rcar_zone_to_priv()
which is a helper macro for gettign private data.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/rcar_thermal.c