]> Git Repo - linux.git/commit
drivers/rtc/rtc-mrst: fix suspend/resume
authorLars-Peter Clausen <[email protected]>
Wed, 25 Mar 2015 22:55:09 +0000 (15:55 -0700)
committerLinus Torvalds <[email protected]>
Wed, 25 Mar 2015 23:20:30 +0000 (16:20 -0700)
commitddd2a30d41a5bc578ab094f6dbf080697ea1a7dd
tree5e9536ece15c2a7fc6ca71be4fc42188b216f425
parentfb903811c4e3bcd93ccc247235834e2632a3508d
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.

[[email protected]: device_driver.name is const char *]
Signed-off-by: Lars-Peter Clausen <[email protected]>
Cc: Alessandro Zummo <[email protected]>
Cc: Feng Tang <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
drivers/rtc/rtc-mrst.c
This page took 0.055742 seconds and 4 git commands to generate.