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)
commit6dd747825b206e9863c80c8b311fd2ed0964140a
tree617fe84439ffa5dba91bba0faea3b95bb568ebd2
parentc7770bbae276135ec59370159e60497593cc6b46
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