thermal: Add a function to get the minimum power
authorJavi Merino <javi.merino@arm.com>
Mon, 14 Sep 2015 13:23:50 +0000 (14:23 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Mon, 14 Sep 2015 14:39:46 +0000 (07:39 -0700)
commitc973c3bcec3752455c4d7545edd42935cd7942d9
treec436c0e403ade90145c877a6fb0d75992851ff7a
parenteba4f88d5af84e0fcaa5d6eb4fe35a75c47203cb
thermal: Add a function to get the minimum power

The thermal core already has a function to get the maximum power of a
cooling device: power_actor_get_max_power().  Add a function to get the
minimum power of a cooling device.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: Eduardo Valentin <edubezval@gmail.com>
Reviewed-by: Daniel Kurtz <djkurtz@chromium.org>
Signed-off-by: Javi Merino <javi.merino@arm.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/thermal_core.c
include/linux/thermal.h