thermal: of: Extend of-thermal to export table of trip points
authorLukasz Majewski <l.majewski@samsung.com>
Mon, 8 Dec 2014 17:04:20 +0000 (18:04 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 8 Dec 2014 19:58:01 +0000 (15:58 -0400)
commitce8be7785922de0ef497b20384425ed04f674f9d
tree52ec11c8eb828786c5ff59509f580bbf23bd71d4
parentad9914ac3b1f5c12ef2cf1c58a6ddda306fb79d4
thermal: of: Extend of-thermal to export table of trip points

This patch extends the of-thermal.c to export trip points for a given
thermal zone.

Thermal drivers should use of_thermal_get_trip_points() method to get
pointer to table of thermal trip points.

Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/of-thermal.c
drivers/thermal/thermal_core.h