clocksource: atmel-st: remove mach/hardware dependency
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>
Fri, 13 Mar 2015 10:54:37 +0000 (11:54 +0100)
committerNicolas Ferre <nicolas.ferre@atmel.com>
Mon, 16 Mar 2015 16:03:07 +0000 (17:03 +0100)
commit0afb46b248eff66e619ac00ac96d2e986844575e
treee93f507f747fc20e51e9ef5d6c86f22c4c5dbb86
parentadf2edfd6003c401ae52a360e0e67abc7deeb952
clocksource: atmel-st: remove mach/hardware dependency

Remove the mach/hardware dependency to prepare the driver for multiplatform
support.
Also switch from setup_irq() to request_irq()

Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
drivers/clocksource/timer-atmel-st.c