commit | df14fa909e013134e96b98ab8be398876ec4cc34 | [log] [tgz] |
---|---|---|
author | Corinna Vinschen <xda@vinschen.de> | Sun Aug 26 21:16:23 2018 +0200 |
committer | Vaughn N <rwaterspf1@floydco.net> | Sun May 19 20:45:08 2019 -0400 |
tree | e6f94eaefcaf41aee1d77719d9a62de7c504f0f3 | |
parent | 53320c1068d278cdaa12c34cf98e4f4bea2dea8a [diff] |
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>