]> git.baikalelectronics.ru Git - kernel.git/commit
leds: leds-asic3: switch to using SIMPLE_DEV_PM_OPS
authorJingoo Han <jg1.han@samsung.com>
Tue, 26 Mar 2013 06:47:19 +0000 (23:47 -0700)
committerBryan Wu <cooloney@gmail.com>
Mon, 1 Apr 2013 18:04:54 +0000 (11:04 -0700)
commitc0b1695dff739a9378525c5af6cf7a863ea3ebda
treebbc6ed75da0e0753242ef1db9387c75fc63ea15a
parent9e0dedd3596ccc3edc6d2056159361feaa725776
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