Re: [PATCH] dt: add of_alias_scan and of_alias_get_id

From: David Miller
Date: Wed Sep 21 2011 - 16:57:43 EST


From: Grant Likely <grant.likely@xxxxxxxxxxxx>
Date: Wed, 21 Sep 2011 14:46:54 -0600

> From: Shawn Guo <shawn.guo@xxxxxxxxxx>
>
> The patch adds function of_alias_scan to populate a global lookup
> table with the properties of 'aliases' node and function
> of_alias_get_id for drivers to find alias id from the lookup table.
>
> v3: Split out automatic addition of aliases on id lookup so that it can be
> debated separately from the core functionality.
> v2: - Add of_chosen/of_aliases populating and of_alias_scan() invocation
> for OF_PROMTREE.
> - Add locking
> - rework parse loop
>
> Signed-off-by: Shawn Guo <shawn.guo@xxxxxxxxxx>
> Cc: David S. Miller <davem@xxxxxxxxxxxxx>
> Signed-off-by: Grant Likely <grant.likely@xxxxxxxxxxxx>

Looks good:

Acked-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
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/