From mboxrd@z Thu Jan 1 00:00:00 1970 From: alexandre.belloni@free-electrons.com (Alexandre Belloni) Date: Fri, 13 Mar 2015 11:44:50 +0100 Subject: [PATCH v5 09/10] clocksource: atmel-st: remove mach/hardware dependency In-Reply-To: <5502BA2F.4040600@linaro.org> References: <1426162054-9987-1-git-send-email-alexandre.belloni@free-electrons.com> <1426162054-9987-10-git-send-email-alexandre.belloni@free-electrons.com> <5502BA2F.4040600@linaro.org> Message-ID: <20150313104450.GH4329@piout.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 13/03/2015 at 11:21:35 +0100, Daniel Lezcano wrote : > On 03/12/2015 01:07 PM, Alexandre Belloni wrote: > >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 > >--- > > drivers/clocksource/timer-atmel-st.c | 21 +++++++++------------ > > 1 file changed, 9 insertions(+), 12 deletions(-) > > > >diff --git a/drivers/clocksource/timer-atmel-st.c b/drivers/clocksource/timer-atmel-st.c > >index 674ef2519d6b..91d6cbb7a56b 100644 > >--- a/drivers/clocksource/timer-atmel-st.c > >+++ b/drivers/clocksource/timer-atmel-st.c > >@@ -31,13 +31,12 @@ > > > > #include > > Couldn't the header above be removed ? > Indeed, it can but that is starting to be further cleanup than I intended ;) I'll send a v6 of that patch for Nicolas to pick. -- Alexandre Belloni, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com