clocksource: sh_tmu: Use request_irq() instead of setup_irq()
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 17 Feb 2014 10:27:49 +0000 (11:27 +0100)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:14:42 +0000 (11:14 +0100)
commitec757bcd47622387f2dd0d5d6a229632011d6f71
tree73f926ce94c0f033ba4993273947d3235346944b
parent5a7e2db04925edf9050d2f21fc8fadcf39728708
clocksource: sh_tmu: Use request_irq() instead of setup_irq()

The driver claims it needs to register an interrupt handler too early
for request_irq(). This might have been true in the past, but the only
meaningful difference between request_irq() and setup_irq() today is an
additional kzalloc() call in request_irq(). As the driver calls
kmalloc() itself we know that the slab allocator is available, we can
thus switch to request_irq().

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
(cherry picked from commit 1c56cf6b048e1e1bbe08faf38b5592b373905ac5)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
drivers/clocksource/sh_tmu.c