]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita04704c9caeb34fcf441dc6d29cce40c174db14b
treef3a9f1bcce9d1eeb14cc681532917d4059623f15
parent8a17c7afe9fb246fbdf434a8c4a84cdc5bada8cb
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