From mboxrd@z Thu Jan 1 00:00:00 1970 From: emilio@elopez.com.ar (=?UTF-8?B?RW1pbGlvIEzDs3Bleg==?=) Date: Tue, 13 May 2014 13:57:52 -0300 Subject: [PATCH 3/7] clk: sunxi: avoid double DT matching In-Reply-To: References: <1399940993-1773-1-git-send-email-robherring2@gmail.com> <1399940993-1773-4-git-send-email-robherring2@gmail.com> Message-ID: <53724F10.8030607@elopez.com.ar> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org Hi Rob, For 3/7 (with the mentioned fix) and 4/7 my Cubietruck still boots, so Acked-by: Emilio L?pez Tested-by: Emilio L?pez El 13/05/14 12:12, Rob Herring escribi?: > On Mon, May 12, 2014 at 7:29 PM, Rob Herring wrote: >> From: Rob Herring >> >> Use for_each_matching_node_and_match instead of for_each_matching_node plus >> of_match_node to avoid searching the DT twice for each node. >> >> The sunxi DT scanning code should really be re-worked rather than have >> its own private matching infrastructure. It is working around needing a >> function pointer and a data pointer for each compatible match. >> >> Signed-off-by: Rob Herring >> Cc: "Emilio L?pez" >> Cc: Mike Turquette >> Cc: Maxime Ripard Cheers, Emilio From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752350AbaEMQ6M (ORCPT ); Tue, 13 May 2014 12:58:12 -0400 Received: from yotta.elopez.com.ar ([31.220.24.173]:58577 "EHLO yotta.elopez.com.ar" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751205AbaEMQ57 (ORCPT ); Tue, 13 May 2014 12:57:59 -0400 Message-ID: <53724F10.8030607@elopez.com.ar> Date: Tue, 13 May 2014 13:57:52 -0300 From: =?UTF-8?B?RW1pbGlvIEzDs3Bleg==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Rob Herring CC: "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , Mike Turquette , Maxime Ripard Subject: Re: [PATCH 3/7] clk: sunxi: avoid double DT matching References: <1399940993-1773-1-git-send-email-robherring2@gmail.com> <1399940993-1773-4-git-send-email-robherring2@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rob, For 3/7 (with the mentioned fix) and 4/7 my Cubietruck still boots, so Acked-by: Emilio López Tested-by: Emilio López El 13/05/14 12:12, Rob Herring escribió: > On Mon, May 12, 2014 at 7:29 PM, Rob Herring wrote: >> From: Rob Herring >> >> Use for_each_matching_node_and_match instead of for_each_matching_node plus >> of_match_node to avoid searching the DT twice for each node. >> >> The sunxi DT scanning code should really be re-worked rather than have >> its own private matching infrastructure. It is working around needing a >> function pointer and a data pointer for each compatible match. >> >> Signed-off-by: Rob Herring >> Cc: "Emilio López" >> Cc: Mike Turquette >> Cc: Maxime Ripard Cheers, Emilio