mbox series

[net-next,0/5] net: fsl_pq_mdio: use devm

Message ID 20241115204149.6887-1-rosenp@gmail.com (mailing list archive)
Headers show
Series net: fsl_pq_mdio: use devm | expand

Message

Rosen Penev Nov. 15, 2024, 8:41 p.m. UTC
Various devm conversions to simplify probe and remove the remove
function.

Tested on WatchGuard T10, where devm_platform_get_and_ioremap_resource
was failing. Added a note why.

Rosen Penev (5):
  net: fsl_pq_mdio: use dev variable in _probe
  net: fsl_pq_mdio: use devm for mdiobus_alloc_size
  net: fsl_pq_mdio: use platform_get_resource
  net: fsl_pq_mdio: use devm for of_iomap
  net: fsl_pq_mdio: return directly in probe

 drivers/net/ethernet/freescale/fsl_pq_mdio.c | 92 +++++++-------------
 1 file changed, 31 insertions(+), 61 deletions(-)

Comments

Jakub Kicinski Nov. 19, 2024, 3:45 a.m. UTC | #1
On Fri, 15 Nov 2024 12:41:44 -0800 Rosen Penev wrote:
> Various devm conversions to simplify probe and remove the remove
> function.
> 
> Tested on WatchGuard T10, where devm_platform_get_and_ioremap_resource
> was failing. Added a note why.

Hi Rosen, we're wrapping up our 6.13 material. We don't have enough
time to review everything that's already posted so I'll mark all our
outstanding patches as deferred. Please resend in 2 weeks.