From: Uwe Kleine-König Date: Tue, 1 Oct 2013 09:00:53 +0000 (+0200) Subject: clocksource: Put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrally X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~39^2~11^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=326e31eebe61dc838e031ea16968b2cfb43443e3;p=pandora-kernel.git clocksource: Put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrally 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 Signed-off-by: Daniel Lezcano Acked-by: David Brown --- Reading git-diff-tree failed