thermal: of: Extend current of-thermal.c code to allow setting emulated temp
authorLukasz Majewski <l.majewski@samsung.com>
Mon, 8 Dec 2014 17:04:21 +0000 (18:04 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 9 Dec 2014 01:10:00 +0000 (21:10 -0400)
commit184a4bf623fa587067851d25435fcb2f41de445b
tree98023bf8abd50b6672f3e4b0f34e9c41c7944456
parentce8be7785922de0ef497b20384425ed04f674f9d
thermal: of: Extend current of-thermal.c code to allow setting emulated temp

Before this change it was only possible to set get_temp() and get_trend()
methods to be used in the common code handling passing parameters via
device tree to "cpu-thermal" CPU thermal zone device.

Now it is possible to also set emulated value of temperature for debug
purposes.

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