Re: [PATCH v4 1/3] net: phy: mscc: move shared probe code into a helper

2020-06-17 Thread Andrew Lunn
On Wed, Jun 17, 2020 at 11:33:24PM +0200, Heiko Stuebner wrote: > From: Heiko Stuebner > > The different probe functions share a lot of code, so move the > common parts into a helper to reduce duplication. > > This moves the devm_phy_package_join below the general allocation > but as all compone

[PATCH v4 1/3] net: phy: mscc: move shared probe code into a helper

2020-06-17 Thread Heiko Stuebner
From: Heiko Stuebner The different probe functions share a lot of code, so move the common parts into a helper to reduce duplication. This moves the devm_phy_package_join below the general allocation but as all components just allocate things, this should be ok. Suggested-by: Andrew Lunn Signe