thermal: rcar: add .get_trip_type/temp and .notify support
authorkuninori.morimoto.gx@renesas.com <kuninori.morimoto.gx@renesas.com>
Mon, 3 Dec 2012 02:48:41 +0000 (18:48 -0800)
committerZhang Rui <rui.zhang@intel.com>
Fri, 4 Jan 2013 07:37:45 +0000 (15:37 +0800)
commitd2a73e225d113fdccd80373ad9aeb2b58b32a30b
treeaf255ad70f782ef6a32cde24df5f94522414f531
parentbbf63be4f331358173da26b888a10583fcc92ec0
thermal: rcar: add .get_trip_type/temp and .notify support

This patch adds .get_trip_type(), .get_trip_temp(), and .notify()
on rcar_thermal_zone_ops.
Driver will try platform power OFF if it reached to
critical temperature.

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