power: 8996: Fix only sending the first pair out of every perf profile

When acquiring the perflock, we were only passing the first pair of
arguments out of every profile. Because...
sizeof(*)/sizeof(int) is always 2 on a 64bit arch. There's no
need to put the profile into a pointer anyway, just pass it directly to
ARRAY_SIZE (and the lock)

Change-Id: I25f2a9b059290c3a0b36fc8dc29c711da938430e
1 file changed
tree: 23dfa0b8ea79edd0e486b6a73091aa0c3583d2ce
  1. cryptfs_hw/
  2. dtbtool/
  3. power/
  4. recovery/
  5. .gitreview
  6. Android.mk
  7. README.md
  8. releasetools.py
README.md

Generic common qcom configuration tools

Copyright 2014 - The CyanogenMod Project