diff options
Diffstat (limited to 'drivers/clocksource')
-rw-r--r-- | drivers/clocksource/sh_cmt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/clocksource/sh_cmt.c b/drivers/clocksource/sh_cmt.c index 7783b42f6914..1c92c39a53aa 100644 --- a/drivers/clocksource/sh_cmt.c +++ b/drivers/clocksource/sh_cmt.c | |||
@@ -465,7 +465,6 @@ static void sh_cmt_register_clockevent(struct sh_cmt_priv *p, | |||
465 | ced->set_mode = sh_cmt_clock_event_mode; | 465 | ced->set_mode = sh_cmt_clock_event_mode; |
466 | 466 | ||
467 | pr_info("sh_cmt: %s used for clock events\n", ced->name); | 467 | pr_info("sh_cmt: %s used for clock events\n", ced->name); |
468 | ced->mult = 1; /* work around misplaced WARN_ON() in clockevents.c */ | ||
469 | clockevents_register_device(ced); | 468 | clockevents_register_device(ced); |
470 | } | 469 | } |
471 | 470 | ||
@@ -557,7 +556,7 @@ static int sh_cmt_setup(struct sh_cmt_priv *p, struct platform_device *pdev) | |||
557 | cfg->clockevent_rating, | 556 | cfg->clockevent_rating, |
558 | cfg->clocksource_rating); | 557 | cfg->clocksource_rating); |
559 | err2: | 558 | err2: |
560 | free_irq(irq, p); | 559 | remove_irq(irq, &p->irqaction); |
561 | err1: | 560 | err1: |
562 | iounmap(p->mapbase); | 561 | iounmap(p->mapbase); |
563 | err0: | 562 | err0: |