[PATCH net-next v9 04/15] of: mdio: Refactor of_phy_find_device()

Russell King (Oracle) linux at armlinux.org.uk
Fri Jun 11 04:35:46 PDT 2021


On Fri, Jun 11, 2021 at 02:30:19PM +0300, Andy Shevchenko wrote:
> On Fri, Jun 11, 2021 at 2:28 PM Andy Shevchenko
> <andy.shevchenko at gmail.com> wrote:
> > On Fri, Jun 11, 2021 at 1:54 PM Ioana Ciornei <ciorneiioana at gmail.com> wrote:
> > >
> > > From: Calvin Johnson <calvin.johnson at oss.nxp.com>
> > >
> > > Refactor of_phy_find_device() to use fwnode_phy_find_device().
> >
> > I see that there are many users of this, but I think eventually we
> > should kill of_phy_find_device() completely.
> 
> Looking into other examples of such I think this series may not touch
> them right now, but clearly state that it's the plan in the future to
> kill this kind of OF APIs that call fwnode underneath.

That's something I most definitely support - once we have the fwnode
APIs in place, the OF specific APIs become an additional maintenance
burden that we don't need. So, I would also like to see the old APIs
killed.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!



More information about the linux-arm-kernel mailing list