misc: apds9802als: Use dev_pm_ops for suspend/resume
authorChaitanya Bandi <bandik@nvidia.com>
Wed, 26 Dec 2012 11:27:58 +0000 (16:27 +0530)
committerVarun Colbert <vcolbert@nvidia.com>
Fri, 28 Dec 2012 22:12:26 +0000 (14:12 -0800)
commitb8a040af44c35d234f6f8597a2668c7e243273d6
treeacadcccc95fbbcac6c58e187c33792db2dd26c66
parent01e012288b66e3387a28a4e698e064064cb31cef
misc: apds9802als: Use dev_pm_ops for suspend/resume

Modified suspend/resume of apds9802als to use dev_pm_ops
instead of using I2C client driver's suspend/resume.

Bug 1166544

Change-Id: I1eb69cac3323cd97ca3446d1b5b6ad3bb0b67aeb
Signed-off-by: Chaitanya Bandi <bandik@nvidia.com>
Reviewed-on: http://git-master/r/174274
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/misc/apds9802als.c