summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/rtc-as3722.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/rtc/rtc-as3722.c')
-rw-r--r--drivers/rtc/rtc-as3722.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/rtc/rtc-as3722.c b/drivers/rtc/rtc-as3722.c
index 4af01698589..9f38eda6915 100644
--- a/drivers/rtc/rtc-as3722.c
+++ b/drivers/rtc/rtc-as3722.c
@@ -242,9 +242,8 @@ static int as3722_rtc_resume(struct device *dev)
}
#endif
-static const struct dev_pm_ops as3722_rtc_pm_ops = {
- SET_SYSTEM_SLEEP_PM_OPS(as3722_rtc_suspend, as3722_rtc_resume)
-};
+static SIMPLE_DEV_PM_OPS(as3722_rtc_pm_ops, as3722_rtc_suspend,
+ as3722_rtc_resume);
static struct platform_driver as3722_rtc_driver = {
.probe = as3722_rtc_probe,