power: bq27x00: start/stop delayed work upon suspend/resume
authorPritesh Raithatha <praithatha@nvidia.com>
Wed, 11 Apr 2012 10:41:10 +0000 (18:41 +0800)
committerSimone Willett <swillett@nvidia.com>
Wed, 9 May 2012 18:33:17 +0000 (11:33 -0700)
commit1f6f57a147e01cc0b987185588334ece1d6cf2bb
tree1086947f25bd19c45917e2937f04dab87ce994eb
parent446b1ef096686dade535c7316e536d3d743c0331
power: bq27x00: start/stop delayed work upon suspend/resume

Cancel delayed work upon suspend and schedule it on resume

Bug 917914

Signed-off-by: Pritesh Raithatha <praithatha@nvidia.com>
Reviewed-on: http://git-master/r/95833
(cherry picked from commit a191d13e9dcdae715c9e03e1980857d00c082dc5)

Change-Id: Ib8292daed3b4115657b1a66e1382ed7c1c448071
Reviewed-on: http://git-master/r/97080
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Pritesh Raithatha <praithatha@nvidia.com>
Tested-by: Sang-Hun Lee <sanlee@nvidia.com>
GVS: Gerrit_Virtual_Submit <kchilds@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/power/bq27x00_battery.c