summaryrefslogtreecommitdiff
path: root/drivers/rtc/rtc-palmas.c
diff options
context:
space:
mode:
authorShuah Khan <shuah.kh@samsung.com>2013-07-03 22:07:59 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 23:08:00 (GMT)
commit92e7f04a7fcc9e7f5955f3337e26ca4ac2ae387b (patch)
tree227ac49d4bb7b75ed0f4aade2ea836fcb50cf231 /drivers/rtc/rtc-palmas.c
parent4c5591c1eee54b7775ea63635ae310a29f0207bb (diff)
downloadlinux-fsl-qoriq-92e7f04a7fcc9e7f5955f3337e26ca4ac2ae387b.tar.xz
drivers/rtc/class: convert from Legacy pm ops to dev_pm_ops
Convert drivers/rtc/class to use dev_pm_ops for power management and remove Legacy PM ops hooks. With this change, rtc 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 rtc class. Signed-off-by: Shuah Khan <shuah.kh@samsung.com> Signed-off-by: Jingoo Han <jg1.han@samsung.com> Cc: Shuah Khan <shuahkhan@gmail.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc/rtc-palmas.c')
0 files changed, 0 insertions, 0 deletions