]> git.karo-electronics.de Git - linux-beck.git/commit
thermal: power_allocator: Use temperature reading from tz
authorKapileshwar Singh <kapileshwar.singh@arm.com>
Tue, 13 Oct 2015 11:30:01 +0000 (12:30 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Thu, 12 Nov 2015 18:47:24 +0000 (10:47 -0800)
commitbb404db47b8a4ade8c85d13fb44908b0ee15483c
tree102d06bb8785bb5bcd88bfc060c3eb510e014d4f
parent20f0af759d79c53a818da5c953874c9e801f726a
thermal: power_allocator: Use temperature reading from tz

All thermal governors use the temperature value stored in
struct thermal_zone_device.

   thermal_zone_device->temperature

power_allocator governor should not deviate from this and use
the same.

Cc: Javi Merino <javi.merino@arm.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Cc: Daniel Kurtz <djkurtz@chromium.org>
Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Javi Merino <javi.merino@arm.com>
Reported-by: Sugumar Natarajan <sugumar.natarajan@arm.com>
Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/power_allocator.c