Re: [PATCH net-next 3/3] net: phy: bcm54140: add hwmon support

From: Andrew Lunn
Date: Fri Apr 17 2020 - 17:28:36 EST


On Fri, Apr 17, 2020 at 11:08:56PM +0200, Michael Walle wrote:
> Am 2020-04-17 22:13, schrieb Andrew Lunn:
> > > Correct, and this function was actually stolen from there ;) This was
> > > actually stolen from the mscc PHY ;)
> >
> > Which in itself indicates it is time to make it a helper :-)
>
> Sure, do you have any suggestions?

mdiobus_get_phy() does the bit i was complaining about, the mdiobus
internal knowledge.

Andrew