diff options
author | Corinna Vinschen <xda@vinschen.de> | 2018-08-26 21:16:23 +0200 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-10-23 01:12:57 +0300 |
commit | 6102e6812c9437dc7a5fda88554d73ea923702cb (patch) | |
tree | 29912dd661f52b8fb628ee45e93172bb4834d3d6 /power-feature.h | |
parent | 662bc2c978dafd4a804e68fa94712565fa121472 (diff) | |
download | vendor_qcom_opensource_power-6102e6812c9437dc7a5fda88554d73ea923702cb.tar.gz vendor_qcom_opensource_power-6102e6812c9437dc7a5fda88554d73ea923702cb.tar.bz2 vendor_qcom_opensource_power-6102e6812c9437dc7a5fda88554d73ea923702cb.zip |
power: perform_hint_action: return an error code
So far the caller never knows if setting the hint actually worked.
This leads to a potential disconnect between the actual setting and the
UI because set_power_profile simply assumes perform_hint_action worked.
Return an error code or 0, so the callers can check for success.
Change-Id: I180a367e9d8581a63dfa703046b37bc5cae8c6cb
Signed-off-by: Corinna Vinschen <xda@vinschen.de>
Diffstat (limited to 'power-feature.h')
0 files changed, 0 insertions, 0 deletions