From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Cartwright Subject: Re: [PATCH 3/8] ARM: at91: make use of of_find_matching_node_and_match Date: Tue, 11 Feb 2014 12:44:03 -0600 Message-ID: <20140211184403.GH841@joshc.qualcomm.com> References: <1392135847-30791-1-git-send-email-joshc@codeaurora.org> <1392135847-30791-4-git-send-email-joshc@codeaurora.org> <52FA61F4.90905@atmel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <52FA61F4.90905-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Nicolas Ferre Cc: Andrew Victor , Jean-Christophe Plagniol-Villard , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Russell King , linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org List-Id: devicetree@vger.kernel.org On Tue, Feb 11, 2014 at 06:46:28PM +0100, Nicolas Ferre wrote: > On 11/02/2014 17:24, Josh Cartwright : > > Instead of the of_find_matching_node()/of_match_node() pair, which requires two > > iterations through the match table, make use of of_find_matching_node_and_match(), > > which only iterates through the table once. > > > > While we're here, mark the rtsc id table const. > > Well, I might remove this one, just because other id tables are not > marked as "const" in the same file... So it can be good to change all of > them in a raw. Indeed, I was only looking for a specific pattern. [..] > => if you want, I can take the patch with me through arm-soc with at91 > material for 3.15 and complete your "const" modification. What do you > think about that? Yes, this sounds good. Thanks, Josh -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html