commit | 73e1ab41a80d36207e8ea7cc2c9897afdeeef387 | [log] [tgz] |
---|---|---|
author | Shuah Khan <shuah.kh@samsung.com> | Thu Jun 20 12:08:44 2013 -0700 |
committer | Bryan Wu <cooloney@gmail.com> | Thu Jun 20 17:36:45 2013 -0700 |
tree | c88854d110b08c7d106c3981f4af23ca3e62ced8 | |
parent | ae6cdb03ef1d352c489d6c86e0bcec51365a2c64 [diff] |
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>