leds: leds-asic3: switch to using SIMPLE_DEV_PM_OPS
commitdf92d5ff5e70999274f53884cc2c40ae620a109a
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 06:47:19 +0000 (25 23:47 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 1 Apr 2013 18:04:54 +0000 (1 11:04 -0700)
treebbc6ed75da0e0753242ef1db9387c75fc63ea15a
parentcceba0e4b8f41a495dc7a5ab2795dcab0ddb64c1
leds: leds-asic3: switch to using SIMPLE_DEV_PM_OPS

Switch to using SIMPLE_DEV_PM_OPS  macro to declare the driver's
pm_ops. It reduces code size. Also, CONFIG_PM_SLEEP is added to
suspend/ resume functions to prevent build warnings when
CONFIG_PM_SLEEP is not selected.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
drivers/leds/leds-asic3.c