rtc: rtc-stmp3xxx: convert stmp3xxx_rtcdrv to dev_pm_ops
authorJingoo Han <jg1.han@samsung.com>
Mon, 29 Apr 2013 23:21:03 +0000 (16:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 30 Apr 2013 01:28:40 +0000 (18:28 -0700)
commitef69a7f061c822af72a53109920cf3128f1ad572
treed5dcfa50b6145e91e3903f41198610c70bc47d0d
parentb086e392b1d435f6abc1dab32b21ee5559cb53de
rtc: rtc-stmp3xxx: convert stmp3xxx_rtcdrv to dev_pm_ops

Instead of using legacy suspend/resume methods, using newer dev_pm_ops
structure allows better control over power management.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-stmp3xxx.c