diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-03-25 15:55:09 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-03-25 16:20:30 -0700 |
commit | ddd2a30d41a5bc578ab094f6dbf080697ea1a7dd (patch) | |
tree | 5e9536ece15c2a7fc6ca71be4fc42188b216f425 /mm/mmap.c | |
parent | fb903811c4e3bcd93ccc247235834e2632a3508d (diff) | |
download | linux-ddd2a30d41a5bc578ab094f6dbf080697ea1a7dd.tar.bz2 |
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 <lars@metafoo.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Feng Tang <feng.tang@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions