[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mvff27$jm4$1@ger.gmane.org>
Date: Mon, 12 Oct 2015 07:05:11 +0200
From: Christophe JAILLET <christophe.jaillet@...adoo.fr>
To: linux-kernel@...r.kernel.org
Cc: linuxppc-dev@...abs.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] powerpc/mpc5xxx: Use of_get_next_parent to simplify code
Le 11/10/2015 22:44, Julia Lawall a écrit :
>
>> of_get_next_parent can be used to simplify the while() loop and
>> avoid the need of a temp variable.
> Can you do something with the loop in __of_translate_address, in
> drivers/of/address.c? Is there not an iterator for this?
>
> julia
>
Hi Julia,
There does not seem to be any 'for_each_parent_of_node' or equivalent.
Best regards,
CJ
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists