staging: qlge: remove mpi_core_to_log which sends coredump to the kernel ring buffer
[linux-2.6-microblaze.git] / drivers / rtc / rtc-digicolor.c
index 200d85b..4fdfa5b 100644 (file)
@@ -202,7 +202,7 @@ static int __init dc_rtc_probe(struct platform_device *pdev)
        rtc->rtc_dev->ops = &dc_rtc_ops;
        rtc->rtc_dev->range_max = U32_MAX;
 
-       return rtc_register_device(rtc->rtc_dev);
+       return devm_rtc_register_device(rtc->rtc_dev);
 }
 
 static const struct of_device_id dc_dt_ids[] = {