]> 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)
commitd320952e530601a4fe3bd575052567e7fed89801
tree617fe84439ffa5dba91bba0faea3b95bb568ebd2
parentd1cde60e0267c0fc1be36266026ef5dbdd81e4a9
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