diff options
Diffstat (limited to 'drivers/pwm/pwm-tipwmss.c')
-rw-r--r-- | drivers/pwm/pwm-tipwmss.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/pwm/pwm-tipwmss.c b/drivers/pwm/pwm-tipwmss.c index c9c3d3a1e0eb..3b119bc2c3c6 100644 --- a/drivers/pwm/pwm-tipwmss.c +++ b/drivers/pwm/pwm-tipwmss.c | |||
@@ -70,11 +70,6 @@ static int pwmss_probe(struct platform_device *pdev) | |||
70 | mutex_init(&info->pwmss_lock); | 70 | mutex_init(&info->pwmss_lock); |
71 | 71 | ||
72 | r = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 72 | r = platform_get_resource(pdev, IORESOURCE_MEM, 0); |
73 | if (!r) { | ||
74 | dev_err(&pdev->dev, "no memory resource defined\n"); | ||
75 | return -ENODEV; | ||
76 | } | ||
77 | |||
78 | info->mmio_base = devm_ioremap_resource(&pdev->dev, r); | 73 | info->mmio_base = devm_ioremap_resource(&pdev->dev, r); |
79 | if (IS_ERR(info->mmio_base)) | 74 | if (IS_ERR(info->mmio_base)) |
80 | return PTR_ERR(info->mmio_base); | 75 | return PTR_ERR(info->mmio_base); |