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)
commit1d16cfb3aeba71bc6ecf2d19ccbabed0426e5c22
treece8b8642fe5b0ab49213c64dc600e107104a532d
parenteffbfdd7baf7babc73154b87a5ff940969cf6559
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