diff options
author | Zhao Wei Liew <zhaoweiliew@gmail.com> | 2016-07-19 19:57:06 +0800 |
---|---|---|
committer | Michael Bestas <mkbestas@lineageos.org> | 2019-10-23 01:12:56 +0300 |
commit | 71131ea4e0f0a05a51443571970e4f74cb14de65 (patch) | |
tree | 5956a90ba3cd005f4c6a82e8a354cbb435dbb370 /utils.h | |
parent | b989cae4900c6647bd5fddfd9930c01e999025ea (diff) | |
download | vendor_qcom_opensource_power-71131ea4e0f0a05a51443571970e4f74cb14de65.tar.gz vendor_qcom_opensource_power-71131ea4e0f0a05a51443571970e4f74cb14de65.tar.bz2 vendor_qcom_opensource_power-71131ea4e0f0a05a51443571970e4f74cb14de65.zip |
power: Simplify soc_id checks
- Get soc_id in a common util function
- Return boolean values for the target-specific soc_id checks
Change-Id: I038c435d28855859f36566de7acf881037d070f2
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -43,3 +43,5 @@ void release_request(int lock_handle); void interaction(int duration, int num_args, int opt_list[]); int interaction_with_handle(int lock_handle, int duration, int num_args, int opt_list[]); int perf_hint_enable(int hint_id, int duration); + +int get_soc_id(void); |