From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Brown Subject: Re: [PATCH] clocksource: put nodes passed to CLOCKSOURCE_OF_DECLARE callbacks centrally Date: Tue, 1 Oct 2013 13:01:21 -0700 Message-ID: <20131001200121.GA18640@codeaurora.org> References: <1380618053-11159-1-git-send-email-u.kleine-koenig@pengutronix.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1380618053-11159-1-git-send-email-u.kleine-koenig-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org> Sender: linux-tegra-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Cc: Daniel Lezcano , kernel-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, Thomas Gleixner , Stephen Warren , Tony Prisk , linux-arm-msm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Bryan Huntsman , Daniel Walker List-Id: linux-arm-msm@vger.kernel.org On Tue, Oct 01, 2013 at 11:00:53AM +0200, Uwe Kleine-K=F6nig 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 les= s >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=F6nig >--- > arch/arm/mach-msm/timer.c | 1 - Acked-by: David Brown --=20 sent by an employee of the Qualcomm Innovation Center, Inc. The Qualcomm Innovation Center, Inc. is a member of the Code Aurora For= um, hosted by The Linux Foundation