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: NShawn Guo <shawn.guo@linaro.org>
Showing
想要评论请 注册 或 登录