]> git.karo-electronics.de Git - karo-tx-linux.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)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 4 Apr 2013 07:31:55 +0000 (09:31 +0200)
commitab8a98cff21aedb787934e8d366c9879ad0e824c
tree9c1071650cc6b38010882825e075d9d9b6dbc5ba
parentd37ca638ec4f8eb3c7df64468c4d10330880db71
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