diff options
author | Shuah Khan <shuah.kh@samsung.com> | 2013-06-20 12:08:44 -0700 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2013-06-20 17:36:45 -0700 |
commit | 73e1ab41a80d36207e8ea7cc2c9897afdeeef387 (patch) | |
tree | c88854d110b08c7d106c3981f4af23ca3e62ced8 /drivers/leds/leds-mc13783.c | |
parent | ae6cdb03ef1d352c489d6c86e0bcec51365a2c64 (diff) | |
download | op-kernel-dev-73e1ab41a80d36207e8ea7cc2c9897afdeeef387.zip op-kernel-dev-73e1ab41a80d36207e8ea7cc2c9897afdeeef387.tar.gz |
leds: Convert led class driver from legacy pm ops to dev_pm_ops
Convert drivers/leds/led-class to use dev_pm_ops for power management and
remove Legacy PM ops hooks. With this change, led class registers
suspend/resume callbacks via class->pm (dev_pm_ops) instead of Legacy
class->suspend/resume. When __device_suspend() runs call-backs, it will
find class->pm ops for the led class.
Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'drivers/leds/leds-mc13783.c')
0 files changed, 0 insertions, 0 deletions