]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/rtc/rtc-rk808.c
Merge tag 'ceph-for-5.4-rc1' of git://github.com/ceph/ceph-client
[linux.git] / drivers / rtc / rtc-rk808.c
index c34540baa12af0197fd18587b34cbad96a5842a7..c0334c602e88efe022a3e78976ceb91c034536f0 100644 (file)
@@ -434,12 +434,8 @@ static int rk808_rtc_probe(struct platform_device *pdev)
        rk808_rtc->rtc->ops = &rk808_rtc_ops;
 
        rk808_rtc->irq = platform_get_irq(pdev, 0);
-       if (rk808_rtc->irq < 0) {
-               if (rk808_rtc->irq != -EPROBE_DEFER)
-                       dev_err(&pdev->dev, "Wake up is not possible as irq = %d\n",
-                               rk808_rtc->irq);
+       if (rk808_rtc->irq < 0)
                return rk808_rtc->irq;
-       }
 
        /* request alarm irq of rk808 */
        ret = devm_request_threaded_irq(&pdev->dev, rk808_rtc->irq, NULL,