power: supply: generic-adc-battery: use SIMPLE_DEV_PM_OPS helper macro
authorRahul Bedarkar <rahulbedarkar89@gmail.com>
Fri, 21 Apr 2017 11:07:57 +0000 (16:37 +0530)
committerSebastian Reichel <sre@kernel.org>
Mon, 1 May 2017 09:52:24 +0000 (11:52 +0200)
commit756e142a4b3b25aac44eaa54ded125fce0e8fcc7
tree318cc891338a27801ca22abd063c1cc4d0d52367
parentbb8fe8ea0067083e0452d5c67a4ab70ad72cc52f
power: supply: generic-adc-battery: use SIMPLE_DEV_PM_OPS helper macro

Replace ifdefs with SIMPLE_DEV_PM_OPS helper macro.

Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/generic-adc-battery.c