[PATCH] clocksource: put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrally

David Brown davidb at codeaurora.org
Tue Oct 1 16:01:21 EDT 2013


On Tue, Oct 01, 2013 at 11:00:53AM +0200, Uwe Kleine-König wrote:
>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 at pengutronix.de>
>---
> arch/arm/mach-msm/timer.c             | 1 -

Acked-by: David Brown <davidb at codeaurora.org>


-- 
sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation



More information about the linux-arm-kernel mailing list