Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757688Ab3FCNUg (ORCPT ); Mon, 3 Jun 2013 09:20:36 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:64131 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752941Ab3FCNUe convert rfc822-to-8bit (ORCPT ); Mon, 3 Jun 2013 09:20:34 -0400 From: Arnd Bergmann To: Heiko =?ISO-8859-1?Q?St=FCbner?= Cc: "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , John Stultz , Thomas Gleixner , Mike Turquette , Seungwon Jeon , Jaehoon Chung , Chris Ball , linux-mmc@vger.kernel.org, Grant Likely , Rob Herring , Linus Walleij , devicetree-discuss@lists.ozlabs.org, Russell King , Olof Johansson Subject: Re: [RFC] dw_apb_timer_of: use clocksource_of_init Date: Mon, 03 Jun 2013 15:20:49 +0200 Message-ID: <2776800.oNsvP2SGCJ@wuerfel> User-Agent: KMail/4.10.2 (Linux/3.10.0-rc3-next-20130527+; KDE/4.10.3; x86_64; ; ) In-Reply-To: <201306031415.29411.heiko@sntech.de> References: <201306030055.15413.heiko@sntech.de> <1822564.TIKVDZSzqK@wuerfel> <201306031415.29411.heiko@sntech.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" X-Provags-ID: V02:K0:MkybEPSxmvkvzRNJLerfP1mCOiLb5I+4mUU5uy/68u9 +GbOPsGi9/lT23brv/nXz330IsMQb8TWSsY/Vd/QRH5VXtR5P+ 5ocVgRWTfFLWLPJOf1y/WpRX+ps6vjT06Ph0o0cEpYu3VCCBva CDeDRH7HsBqtc6XE2QsdCjSExdabaAgaRjxsDyz0O0UdGtqO1e HTiUoe1ETVRHj7/JzC8W1v2JNbDSUpgbscwTJckVK2h/Z1k9vv zudGM+UMMLtmuoEm8rESKX5QaZBe1f98RdQ4QDZsZY0wwO3qzF xh6zV6kS4YEF/oFnepqG6+/ny6D/vtLMnpurRnw3RgK03XXzQD qePoQOySGt/h6zoiebRI= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 884 Lines: 22 On Monday 03 June 2013 14:15:28 Heiko St?bner wrote: > dw_apb_timer_init used to search the devicetree for matching timer > devices, making calls to it from board files necessary. > > Change the dw_apb_timer_init to work with CLOCKSOURCE_OF_DECLARE. > With this change the function gets called once for each timer node > and tracks these number of calls to attach clockevent and clocksource > devices to the nodes. > > Also convert all previous users of dw_apb_timer_init to use > clocksource_of_init. > > Tested on the upcoming rk3066 code. > > Signed-off-by: Heiko Stuebner Acked-by: Arnd Bergmann -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/