commit | da09e1ea1ebdfd2195d393d4e1ed5970d0d55da5 | [log] [tgz] |
---|---|---|
author | Corinna Vinschen <xda@vinschen.de> | Sun Aug 26 21:16:23 2018 +0200 |
committer | Michael Bestas <mkbestas@lineageos.org> | Sun Oct 29 22:13:01 2023 +0000 |
tree | 08091d2c2259e57a7a16802139e7f45c351e43d5 | |
parent | 3b9e68c9a7b077085fd96526993cb9f46b2bc52a [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>