]> git.kernelconcepts.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)
committerRob Herring <rob.herring@calxeda.com>
Mon, 11 Mar 2013 13:42:07 +0000 (08:42 -0500)
commiteffbfdd7baf7babc73154b87a5ff940969cf6559
tree7aab87a4f5be6ed1ab817cdd65dcd4d983094e37
parente0c25362384f4be9c755c98560cd4b1cdb2ec79c
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