From: Lars-Peter Clausen Date: Wed, 25 Mar 2015 22:55:09 +0000 (-0700) Subject: drivers/rtc/rtc-mrst: fix suspend/resume X-Git-Tag: omap-for-v4.1/fixes-rc1~268^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ddd2a30d41a5bc578ab094f6dbf080697ea1a7dd;p=pandora-kernel.git drivers/rtc/rtc-mrst: fix suspend/resume The Moorestown RTC driver implements suspend and resume callbacks and assigns them to the suspend and resume fields of the device_driver struct. These callbacks are never actually called by anything though. Modify the driver to properly use dev_pm_ops so that the suspend and resume functions are actually executed upon suspend/resume. [akpm@linux-foundation.org: device_driver.name is const char *] Signed-off-by: Lars-Peter Clausen Cc: Alessandro Zummo Cc: Feng Tang Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed