]> git.baikalelectronics.ru Git - kernel.git/commit
clocksource: tegra20: use the device_node pointer passed to init
authorRob Herring <rob.herring@calxeda.com>
Thu, 7 Feb 2013 17:36:23 +0000 (11:36 -0600)
committerRob Herring <rob.herring@calxeda.com>
Mon, 11 Mar 2013 13:42:07 +0000 (08:42 -0500)
commitba5bf0a5542b3d0ed610800e5b69515c0525d63e
treece8b8642fe5b0ab49213c64dc600e107104a532d
parentd5519834984572b31a2f0d8c040bd6d3caacbb1b
clocksource: tegra20: use the device_node pointer passed to init

We've already matched the node, so use the node pointer passed in. The rtc
init was intermingled with the timer init, so split this out to a separate
init function.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Cc: John Stultz <johnstul@us.ibm.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
drivers/clocksource/tegra20_timer.c