s390: update defconfigs
[linux-2.6-microblaze.git] / drivers / rtc / rtc-88pm860x.c
index c90457d..2c809a1 100644 (file)
@@ -307,7 +307,7 @@ static int pm860x_rtc_probe(struct platform_device *pdev)
        info->rtc_dev->ops = &pm860x_rtc_ops;
        info->rtc_dev->range_max = U32_MAX;
 
-       ret = rtc_register_device(info->rtc_dev);
+       ret = devm_rtc_register_device(info->rtc_dev);
        if (ret)
                return ret;