clocksource: tcb_clksrc: Sanitize IRQ request
authorGael Portay <gael.portay@gmail.com>
Sun, 28 Sep 2014 23:50:05 +0000 (01:50 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Sun, 28 Sep 2014 23:50:05 +0000 (01:50 +0200)
commit2743f1beb0d31be9f59b6fc84f755fb4e173df4d
treecf6adcc9ae6372406c8f484716c2546b987caf69
parentc387f07e6205cc13f57c1def5f885bf0a20e1c2d
clocksource: tcb_clksrc: Sanitize IRQ request

The clock is not unprepared in case of the request IRQ fails.

Also update to request_irq.

Signed-off-by: Gaƫl PORTAY <gael.portay@gmail.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
drivers/clocksource/tcb_clksrc.c