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>
This commit is contained in:
Lukasz Majewski 2014-12-08 18:04:20 +01:00 • committed by Eduardo Valentin
commit ce8be77859
2 changed files with 29 additions and 0 deletions