[PATCH 01/11] of: make of_alias_get work on all types of DT paths
Sascha Hauer
s.hauer at pengutronix.de
Wed Mar 4 02:34:39 PST 2015
On Tue, Mar 03, 2015 at 08:46:13PM +0100, Lucas Stach wrote:
> of_alias_get assumed that a DT path is always the full node path,
> whic is not necessarily the case, as there are other valid path
> descriptions. All of them are handled by of_find_node_by_path.
>
> As there is already a preparsed list with all DT aliases that handles
> this case properly we can simply reuse that one.
>
> Signed-off-by: Lucas Stach <dev at lynxeye.de>
> ---
> drivers/of/base.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
Applied all, thanks
Sascha
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list