[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPv3WKdYUZZAsF-7SzXfevexN8qzGJ0jqWRGM+522PHb0scQJg@mail.gmail.com>
Date: Tue, 21 Jun 2022 11:15:12 +0200
From: Marcin Wojtas <mw@...ihalf.com>
To: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
ACPI Devel Maling List <linux-acpi@...r.kernel.org>,
netdev <netdev@...r.kernel.org>,
"Rafael J. Wysocki" <rafael@...nel.org>,
Len Brown <lenb@...nel.org>, Andrew Lunn <andrew@...n.ch>,
vivien.didelot@...il.com, Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, pabeni@...hat.com,
Russell King - ARM Linux <linux@...linux.org.uk>,
Heiner Kallweit <hkallweit1@...il.com>,
Grzegorz Bernacki <gjb@...ihalf.com>,
Grzegorz Jaszczyk <jaz@...ihalf.com>,
Tomasz Nowicki <tn@...ihalf.com>,
Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@....com>,
upstream@...ihalf.com
Subject: Re: [net-next: PATCH 11/12] net: dsa: mv88e6xxx: switch to
device_/fwnode_ APIs
pon., 20 cze 2022 o 20:04 Andy Shevchenko
<andriy.shevchenko@...ux.intel.com> napisaĆ(a):
>
> On Mon, Jun 20, 2022 at 05:02:24PM +0200, Marcin Wojtas wrote:
> > In order to support both ACPI and DT, modify the generic
> > DSA code to use device_/fwnode_ equivalent routines.
> > No functional change is introduced by this patch.
>
> ...
>
> > @@ -6962,16 +6963,16 @@ static int mv88e6xxx_probe(struct mdio_device *mdiodev)
> > struct dsa_mv88e6xxx_pdata *pdata = mdiodev->dev.platform_data;
> > const struct mv88e6xxx_info *compat_info = NULL;
> > struct device *dev = &mdiodev->dev;
> > - struct device_node *np = dev->of_node;
> > + struct fwnode_handle *fwnode = dev->fwnode;
>
> Forgot to mention: dev_fwnode() or respective device_property_ API, please.
>
I'll update changes to use the device_property_ API.
Thanks,
Marcin
Powered by blists - more mailing lists