summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-mc13783.c
diff options
context:
space:
mode:
authorShuah Khan <shuah.kh@samsung.com>2013-06-20 12:08:44 -0700
committerBryan Wu <cooloney@gmail.com>2013-06-20 17:36:45 -0700
commit73e1ab41a80d36207e8ea7cc2c9897afdeeef387 (patch)
treec88854d110b08c7d106c3981f4af23ca3e62ced8 /drivers/leds/leds-mc13783.c
parentae6cdb03ef1d352c489d6c86e0bcec51365a2c64 (diff)
downloadop-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
OpenPOWER on IntegriCloud