PM QoS: Simplify PM QoS expansion/merge
authorAlex Frid <afrid@nvidia.com>
Thu, 15 Dec 2011 21:34:45 +0000 (13:34 -0800)
committerVarun Wadekar <vwadekar@nvidia.com>
Thu, 22 Dec 2011 06:03:17 +0000 (11:03 +0530)
commit546bfe22844d461f838a2ec093f7d97e7bacff15
tree8bf4bb4616f0257290b50be91a0856e98e668b2e
parent1a24e0399b3011d25ac3448cead470947db63202
PM QoS: Simplify PM QoS expansion/merge

- Replace class ID #define with enumeration
- Loop through PM QoS objects during initialization (rather than
  initializing them one-by-one)

Change-Id: I185b700b52c752c62e7550fe739adc498fc989ef
Signed-off-by: Alex Frid <afrid@nvidia.com>
Reviewed-on: http://git-master/r/70603
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Antti Miettinen <amiettinen@nvidia.com>
Reviewed-by: Diwakar Tundlam <dtundlam@nvidia.com>
Reviewed-by: Scott Williams <scwilliams@nvidia.com>
Reviewed-by: Yu-Huan Hsu <yhsu@nvidia.com>
include/linux/pm_qos_params.h
kernel/pm_qos_params.c