diff options
author | Michael Bestas <mkbestas@lineageos.org> | 2019-09-29 23:59:05 +0300 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-10-23 01:12:56 +0300 |
commit | 420f26552469aa8b98692c27de2320a9c1c5dbc2 (patch) | |
tree | 31388c8e259c3d606b033c8ec19d40a1a36fdeca /utils.h | |
parent | 434acc2ab4bab9d2407e5167be1dc2c22bfead0f (diff) | |
download | vendor_qcom_opensource_power-420f26552469aa8b98692c27de2320a9c1c5dbc2.tar.gz vendor_qcom_opensource_power-420f26552469aa8b98692c27de2320a9c1c5dbc2.tar.bz2 vendor_qcom_opensource_power-420f26552469aa8b98692c27de2320a9c1c5dbc2.zip |
power: clang-format
* Using AOSP interface .clang-format
* Clean Android.mk while we are at it
Change-Id: I630f72e3dffb676ca1930e72945e897f62103ada
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -29,18 +29,17 @@ #include <cutils/properties.h> -int sysfs_read(char *path, char *s, int num_bytes); -int sysfs_write(char *path, char *s); +int sysfs_read(char* path, char* s, int num_bytes); +int sysfs_write(char* path, char* s); int get_scaling_governor(char governor[], int size); -int get_scaling_governor_check_cores(char governor[], int size,int core_num); +int get_scaling_governor_check_cores(char governor[], int size, int core_num); int is_interactive_governor(char*); void vote_ondemand_io_busy_off(); void unvote_ondemand_io_busy_off(); void vote_ondemand_sdf_low(); void unvote_ondemand_sdf_low(); -void perform_hint_action(int hint_id, int resource_values[], - int num_resources); +void perform_hint_action(int hint_id, int resource_values[], int num_resources); void undo_hint_action(int hint_id); void undo_initial_hint_action(); void release_request(int lock_handle); |