From: Shuah Khan Date: Wed, 3 Jul 2013 22:07:59 +0000 (-0700) Subject: drivers/rtc/class: convert from Legacy pm ops to dev_pm_ops X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=92e7f04a7fcc9e7f5955f3337e26ca4ac2ae387b;p=pandora-kernel.git 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 Signed-off-by: Jingoo Han Cc: Shuah Khan Cc: Alessandro Zummo Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed