commit | 282e889e556e65c326238ffb8243c626d4b3c4a5 | [log] [tgz] |
---|---|---|
author | Corinna Vinschen <xda@vinschen.de> | Sun Aug 26 21:16:23 2018 +0200 |
committer | Bruno Martins <bgcngm@gmail.com> | Tue Oct 02 19:50:36 2018 +0100 |
tree | ea7b0f5701613f2fb8453644f0b2786289e1437f | |
parent | bd767ce687270079bf436373a292922b7424f60d [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>