]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: imx: move timer resources into a structure
authorShawn Guo <shawn.guo@linaro.org>
Fri, 22 May 2015 05:53:45 +0000 (13:53 +0800)
committerShawn Guo <shawn.guo@linaro.org>
Wed, 3 Jun 2015 06:52:25 +0000 (14:52 +0800)
commitda2ab5f0853446b64e815ca0f555057e71c7d550
tree617fe84439ffa5dba91bba0faea3b95bb568ebd2
parenta99904bc9549d8404748dfe30894c3b2169fdd32
ARM: imx: move timer resources into a structure

Instead of passing around as individual argument, let's move timer
resources like irq and clocks together with base address into a data
structure, and pass pointer of the structure as argument to simplify
the function call interface.

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