thermal: ti-soc-thermal: Fetch slope and offset from DT
authorKeerthy <j-keerthy@ti.com>
Thu, 9 Mar 2017 08:06:00 +0000 (13:36 +0530)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 30 Mar 2017 05:14:28 +0000 (22:14 -0700)
commite7d22fd2f634d570ab036336c7a6e5017244d0e0
treef3a9f1bcce9d1eeb14cc681532917d4059623f15
parentc1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201
thermal: ti-soc-thermal: Fetch slope and offset from DT

Currently slope and offset values for calculating the hot spot
temperature of a thermal zone is being taken directly from driver
data. So fetch them from device tree.

Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/ti-soc-thermal/ti-thermal-common.c