thermal: core: export apis to get slope and offset
authorRajendra Nayak <rnayak@codeaurora.org>
Thu, 5 May 2016 08:51:42 +0000 (14:21 +0530)
committerZhang Rui <rui.zhang@intel.com>
Tue, 27 Sep 2016 06:02:16 +0000 (14:02 +0800)
commit4a7069a32c99a81950de035535b0a064dcceaeba
treeb65912d14e0cd5650a7d1e0cdc5270176e2c6f90
parent5e6703bd2d83548998848865cb9a9a795f31a311
thermal: core: export apis to get slope and offset

Add apis for platform thermal drivers to query for slope and offset
attributes, which might be needed for temperature calculations.

Signed-off-by: Rajendra Nayak <rnayak@codeaurora.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Documentation/thermal/sysfs-api.txt
drivers/thermal/thermal_core.c
include/linux/thermal.h