clocksource: Put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrally
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 1 Oct 2013 09:00:53 +0000 (11:00 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Wed, 2 Oct 2013 09:42:48 +0000 (11:42 +0200)
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 <u.kleine-koenig@pengutronix.de>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: David Brown <davidb@codeaurora.org>

No differences found