commit | df92d5ff5e70999274f53884cc2c40ae620a109a | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Mon Mar 25 23:47:19 2013 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Mon Apr 01 11:04:54 2013 -0700 |
tree | bbc6ed75da0e0753242ef1db9387c75fc63ea15a | |
parent | cceba0e4b8f41a495dc7a5ab2795dcab0ddb64c1 [diff] |
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>