aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-palmas.c
diff options
context:
space:
mode:
authorShuah Khan <shuah.kh@samsung.com>2013-07-03 15:07:59 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2013-07-03 16:08:00 -0700
commit92e7f04a7fcc9e7f5955f3337e26ca4ac2ae387b (patch)
tree227ac49d4bb7b75ed0f4aade2ea836fcb50cf231 /drivers/rtc/rtc-palmas.c
parentdrivers/rtc/rtc-pcf2123.c: replace strict_strtoul() with kstrtoul() (diff)
downloadlinux-dev-92e7f04a7fcc9e7f5955f3337e26ca4ac2ae387b.tar.xz
linux-dev-92e7f04a7fcc9e7f5955f3337e26ca4ac2ae387b.zip
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