diff options
Diffstat (limited to 'drivers/rtc/rtc-omap.c')
| -rw-r--r-- | drivers/rtc/rtc-omap.c | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/drivers/rtc/rtc-omap.c b/drivers/rtc/rtc-omap.c index 4e1bdb832e37..b0ba3fc991ea 100644 --- a/drivers/rtc/rtc-omap.c +++ b/drivers/rtc/rtc-omap.c @@ -347,11 +347,6 @@ static int __init omap_rtc_probe(struct platform_device *pdev)  	}  	res = platform_get_resource(pdev, IORESOURCE_MEM, 0); -	if (!res) { -		pr_debug("%s: RTC resource data missing\n", pdev->name); -		return -ENOENT; -	} -  	rtc_base = devm_ioremap_resource(&pdev->dev, res);  	if (IS_ERR(rtc_base))  		return PTR_ERR(rtc_base); |