]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clocksource: pass DT node pointer to init functions
authorRob Herring <rob.herring@calxeda.com>
Wed, 6 Feb 2013 20:40:22 +0000 (14:40 -0600)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 4 Apr 2013 07:31:54 +0000 (09:31 +0200)
commitd37ca638ec4f8eb3c7df64468c4d10330880db71
treed6b29b1a0b9990065f7312de6a0f00cd48f80c3f
parent375dd6c4ac091aa321a931947bc48cdf43eb51a6
clocksource: pass DT node pointer to init functions

In cases where we have multiple nodes of the same type, we may need the
node pointer to know which node was matched. Passing the node pointer
also keeps the init function from having to match the node a 2nd time.

Update bcm2835, vt8500, and tegra20 init functions for the new function
prototype. Further tegra20 clean-ups are in follow-up commit.

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>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Tony Prisk <linux@prisktech.co.nz>
Tested-by: Michal Simek <michal.simek@xilinx.com>
drivers/clocksource/bcm2835_timer.c
drivers/clocksource/clksrc-of.c
drivers/clocksource/tegra20_timer.c
drivers/clocksource/vt8500_timer.c