diff options
Diffstat (limited to 'drivers/clocksource/em_sti.c')
-rw-r--r-- | drivers/clocksource/em_sti.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/clocksource/em_sti.c b/drivers/clocksource/em_sti.c index 8e12b11e81b0..9039df4f90e2 100644 --- a/drivers/clocksource/em_sti.c +++ b/drivers/clocksource/em_sti.c | |||
@@ -291,10 +291,8 @@ static int em_sti_probe(struct platform_device *pdev) | |||
291 | platform_set_drvdata(pdev, p); | 291 | platform_set_drvdata(pdev, p); |
292 | 292 | ||
293 | irq = platform_get_irq(pdev, 0); | 293 | irq = platform_get_irq(pdev, 0); |
294 | if (irq < 0) { | 294 | if (irq < 0) |
295 | dev_err(&pdev->dev, "failed to get irq\n"); | ||
296 | return irq; | 295 | return irq; |
297 | } | ||
298 | 296 | ||
299 | /* map memory, let base point to the STI instance */ | 297 | /* map memory, let base point to the STI instance */ |
300 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); | 298 | res = platform_get_resource(pdev, IORESOURCE_MEM, 0); |