aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/vt8500_timer.c
AgeCommit message (Collapse)AuthorFilesLines
2013-10-02clocksource: Put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrallyUwe Kleine-König1-2/+0
Instead of letting each driver call of_node_put do it centrally in the loop that also calls the CLOCKSOURCE_OF_DECLARE callbacks. This is less prone to error and also moves getting and putting the references into the same function. Consequently all respective of_node_put calls in drivers are removed. Signed-off-by: Uwe Kleine-König <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Acked-by: David Brown <[email protected]>
2013-03-28clocksource: make CLOCKSOURCE_OF_DECLARE type safeArnd Bergmann1-1/+1
This ensures that a function pointer passed into CLOCKSOURCE_OF_DECLARE takes the same arguments that we use for calling that function later. Also fix the extraneous semicolon at end of the CLOCKSOURCE_OF_DECLARE definition. Signed-off-by: Arnd Bergmann <[email protected]> Acked-by: Rob Herring <[email protected]>
2013-03-11clocksource: pass DT node pointer to init functionsRob Herring1-13/+1
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 <[email protected]> Cc: John Stultz <[email protected]> Cc: Thomas Gleixner <[email protected]> Reviewed-by: Stephen Warren <[email protected]> Tested-by: Stephen Warren <[email protected]> Acked-by: Arnd Bergmann <[email protected]> Acked-by: Tony Prisk <[email protected]> Tested-by: Michal Simek <[email protected]>
2013-01-15Merge branch 'vt8500/timer' into next/cleanupOlof Johansson1-1/+2
* vt8500/timer: timer: vt8500: Convert vt8500 to use CLKSRC_OF Signed-off-by: Olof Johansson <[email protected]>
2013-01-15timer: vt8500: Convert vt8500 to use CLKSRC_OFTony Prisk1-1/+2
This patch converts arch-vt8500 to make use of CLKSRC_OF. Doing so removes the need for include/linux/vt8500_timer.h as vt8500_timer_init no longer needs to be visible outside vt8500_timer.c Signed-off-by: Tony Prisk <[email protected]> Reviewed-by: Stephen Warren <[email protected]> Signed-off-by: Olof Johansson <[email protected]>
2013-01-14Merge tag 'vt8500/timer' of git://server.prisktech.co.nz/git/linuxwmt into ↵Olof Johansson1-0/+179
next/cleanup From Tony Prisk: Move arch-vt8500/timer.c to drivers/clocksource/vt8500-timer.c * tag 'vt8500/timer' of git://server.prisktech.co.nz/git/linuxwmt: timer: vt8500: Move timer code to drivers/clocksource Signed-off-by: Olof Johansson <[email protected]>
2013-01-14timer: vt8500: Move timer code to drivers/clocksourceTony Prisk1-0/+184
This patch moves arch-vt8500/timer.c into drivers/clocksource and updates the necessary Kconfig/Makefile options. Signed-off-by: Tony Prisk <[email protected]>