[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171231191836.GA20455@lunn.ch>
Date: Sun, 31 Dec 2017 20:18:36 +0100
From: Andrew Lunn <andrew@...n.ch>
To: Marcin Wojtas <mw@...ihalf.com>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
netdev@...r.kernel.org, linux-acpi@...r.kernel.org,
graeme.gregory@...aro.org, davem@...emloft.net,
linux@...linux.org.uk, rafael.j.wysocki@...el.com,
f.fainelli@...il.com, antoine.tenart@...e-electrons.com,
thomas.petazzoni@...e-electrons.com,
gregory.clement@...e-electrons.com,
ezequiel.garcia@...e-electrons.com, nadavh@...vell.com,
neta@...vell.com, ard.biesheuvel@...aro.org, jaz@...ihalf.com,
tn@...ihalf.com
Subject: Re: [net-next: PATCH v2 4/5] net: mvpp2: use device_*/fwnode_* APIs
instead of of_*
On Sun, Dec 31, 2017 at 12:58:39PM +0100, Marcin Wojtas wrote:
Hi Marcin
> Because there is no equivalent for for_each_available_child_of_node(),
> use device_for_each_child_node() and check the port availability
> inside the mvpp2_port_probe() routine.
Could device_each_available_child_node() be added? I guess this will
not be the last driver converted in this way, and having that macro
will help with future ports.
Andrew
Powered by blists - more mailing lists