diff options
Diffstat (limited to 'drivers/clocksource/sh_tmu.c')
-rw-r--r-- | drivers/clocksource/sh_tmu.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/clocksource/sh_tmu.c b/drivers/clocksource/sh_tmu.c index 49f1c805fc95..8c4f3753b36e 100644 --- a/drivers/clocksource/sh_tmu.c +++ b/drivers/clocksource/sh_tmu.c | |||
@@ -462,11 +462,8 @@ static int sh_tmu_channel_setup(struct sh_tmu_channel *ch, unsigned int index, | |||
462 | ch->base = tmu->mapbase + 8 + ch->index * 12; | 462 | ch->base = tmu->mapbase + 8 + ch->index * 12; |
463 | 463 | ||
464 | ch->irq = platform_get_irq(tmu->pdev, index); | 464 | ch->irq = platform_get_irq(tmu->pdev, index); |
465 | if (ch->irq < 0) { | 465 | if (ch->irq < 0) |
466 | dev_err(&tmu->pdev->dev, "ch%u: failed to get irq\n", | ||
467 | ch->index); | ||
468 | return ch->irq; | 466 | return ch->irq; |
469 | } | ||
470 | 467 | ||
471 | ch->cs_enabled = false; | 468 | ch->cs_enabled = false; |
472 | ch->enable_count = 0; | 469 | ch->enable_count = 0; |