From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754555Ab3ALVZh (ORCPT ); Sat, 12 Jan 2013 16:25:37 -0500 Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:64062 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754322Ab3ALVZg (ORCPT ); Sat, 12 Jan 2013 16:25:36 -0500 X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 72.84.113.162 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1/0TjhforAZDkqEkk+/KXF0gUOrmpYQviU= Date: Sat, 12 Jan 2013 16:25:23 -0500 From: Jason Cooper To: Shawn Guo Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Russell King , Wan ZongShun , Sascha Hauer , Nicolas Ferre , Haojian Zhuang , arm@kernel.org, John Stultz , David Brown , Lennert Buytenhek Subject: Re: [PATCH v2 2/3] ARM: use clockevents_config_and_register() where possible Message-ID: <20130112212523.GD13433@titan.lakedaemon.net> References: <1357991406-22778-1-git-send-email-shawn.guo@linaro.org> <1357991406-22778-3-git-send-email-shawn.guo@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1357991406-22778-3-git-send-email-shawn.guo@linaro.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jan 12, 2013 at 07:50:05PM +0800, Shawn Guo wrote: > The clockevent core is able to figure out the best mult and shift, > calculate min_delta_ns and max_delta_ns, with the necessary info passed > into clockevents_config_and_register(). Use this combined configure > and register function where possible to make the codes less error prone > and gain some positive diff stat. > > Signed-off-by: Shawn Guo > Cc: Nicolas Ferre > Reviewed-by: Anton Vorontsov > Acked-by: Kukjin Kim > Cc: Russell King > Cc: Sascha Hauer > Cc: Jason Cooper > Tested-by: Roland Stigge > Acked-by: Eric Miao > Cc: Haojian Zhuang > Cc: David Brown > Tested-by: Tony Lindgren > Acked-by: Barry Song > Tested-by: Stephen Warren > Acked-by: Tony Prisk > Cc: Lennert Buytenhek > Cc: Wan ZongShun > Acked-by: Viresh Kumar > Acked-by: Arnd Bergmann > --- ... > arch/arm/plat-orion/time.c | 6 +----- ... Acked-by: Jason Cooper thx, Jason.