Re: [PATCH 3/7] clk: sunxi: avoid double DT matching

From: Emilio LÃpez
Date: Tue May 13 2014 - 12:58:14 EST


Hi Rob,

For 3/7 (with the mentioned fix) and 4/7 my Cubietruck still boots, so

Acked-by: Emilio LÃpez <emilio@xxxxxxxxxxxxx>
Tested-by: Emilio LÃpez <emilio@xxxxxxxxxxxxx>

El 13/05/14 12:12, Rob Herring escribiÃ:
On Mon, May 12, 2014 at 7:29 PM, Rob Herring <robherring2@xxxxxxxxx> wrote:
From: Rob Herring <robh@xxxxxxxxxx>

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 <robh@xxxxxxxxxx>
Cc: "Emilio LÃpez" <emilio@xxxxxxxxxxxxx>
Cc: Mike Turquette <mturquette@xxxxxxxxxx>
Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxxxxxxxxx>

Cheers,

Emilio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/