ARM: imx: provide gpt device specific irq functions
authorShawn Guo <shawn.guo@linaro.org>
Fri, 22 May 2015 14:42:55 +0000 (22:42 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:52:29 +0000 (14:52 +0800)
commitdb2ae4b4f6b79bd11d6461d41bd0966b0006f20b
tree17ab65c3dcc3387bd4b65350c46eb258a2eac0aa
parent89955520851064ff4bd39714aea947fe7104be73
ARM: imx: provide gpt device specific irq functions

It splits irq enable/disable/acknowledge operations into device specific
functions as the hooks in imx_gpt_data, so that we can save the use of
timer_is_xxx() and cpu_is_xxx() checking in these irq functions.

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
arch/arm/mach-imx/time.c