]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/watchdog/ath79_wdt.c
PM / Runtime: Update .runtime_idle() callback documentation
[mirror_ubuntu-artful-kernel.git] / drivers / watchdog / ath79_wdt.c
index d184c48a0482b6a72fab3db591b5a8c425b531ab..37cb09b27b6328e85581955400cb94bf18b66f0e 100644 (file)
@@ -248,11 +248,6 @@ static int ath79_wdt_probe(struct platform_device *pdev)
                return -EBUSY;
 
        res = platform_get_resource(pdev, IORESOURCE_MEM, 0);
-       if (!res) {
-               dev_err(&pdev->dev, "no memory resource found\n");
-               return -EINVAL;
-       }
-
        wdt_base = devm_ioremap_resource(&pdev->dev, res);
        if (IS_ERR(wdt_base))
                return PTR_ERR(wdt_base);