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 /power-common.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 'power-common.h')
-rw-r--r-- | power-common.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/power-common.h b/power-common.h index f586f09..0ec18ff 100644 --- a/power-common.h +++ b/power-common.h @@ -51,21 +51,16 @@ extern "C" { #include <hardware/power.h> -enum CPU_GOV_CHECK { - CPU0 = 0, - CPU1 = 1, - CPU2 = 2, - CPU3 = 3 -}; +enum CPU_GOV_CHECK { CPU0 = 0, CPU1 = 1, CPU2 = 2, CPU3 = 3 }; void power_init(void); -void power_hint(power_hint_t hint, void *data); +void power_hint(power_hint_t hint, void* data); void set_interactive(int on); -#define UNUSED(x) UNUSED_ ## x __attribute__((__unused__)) +#define UNUSED(x) UNUSED_##x __attribute__((__unused__)) #ifdef __cplusplus } #endif -#endif //__POWER_COMMON_H___ +#endif //__POWER_COMMON_H___ |