[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YrCzBzKfSl1u90lB@smile.fi.intel.com>
Date: Mon, 20 Jun 2022 20:48:55 +0300
From: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
To: Marcin Wojtas <mw@...ihalf.com>
Cc: linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
netdev@...r.kernel.org, rafael@...nel.org, lenb@...nel.org,
andrew@...n.ch, vivien.didelot@...il.com, f.fainelli@...il.com,
olteanv@...il.com, davem@...emloft.net, edumazet@...gle.com,
kuba@...nel.org, pabeni@...hat.com, linux@...linux.org.uk,
hkallweit1@...il.com, gjb@...ihalf.com, jaz@...ihalf.com,
tn@...ihalf.com, Samer.El-Haj-Mahmoud@....com,
upstream@...ihalf.com
Subject: Re: [net-next: PATCH 06/12] net: mdio: introduce
fwnode_mdiobus_register_device()
On Mon, Jun 20, 2022 at 05:02:19PM +0200, Marcin Wojtas wrote:
> As a preparation patch to extend MDIO capabilities in the ACPI world,
> introduce fwnode_mdiobus_register_device() to register non-PHY
> devices on the mdiobus.
>
> While at it, also use the newly introduced fwnode operation in
> of_mdiobus_phy_device_register().
...
> static int of_mdiobus_register_device(struct mii_bus *mdio,
> struct device_node *child, u32 addr)
> {
> + return fwnode_mdiobus_register_device(mdio, of_fwnode_handle(child), addr);
> }
Since it's static one-liner you probably may ger rid of it completely.
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists