[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <15ee7621-0e74-a3c1-0778-ca4fa6c2e3c6@gmail.com>
Date: Mon, 17 Feb 2020 21:34:10 +0100
From: Heiner Kallweit <hkallweit1@...il.com>
To: Andrew Lunn <andrew@...n.ch>,
Florian Fainelli <f.fainelli@...il.com>,
Russell King - ARM Linux <linux@...linux.org.uk>,
David Miller <davem@...emloft.net>,
Realtek linux nic maintainers <nic_swsd@...ltek.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [PATCH net-next 0/2] net: phy: unregister MDIO bus in
_devm_mdiobus_free if needed
If using managed MDIO bus handling (devm_mdiobus_alloc et al) we still
have to manually unregister the MDIO bus. For drivers that don't depend
on unregistering the MDIO bus at a specific, earlier point in time we
can make driver author's life easier by automagically unregistering
the MDIO bus. This extension is transparent to existing drivers.
Heiner Kallweit (2):
net: phy: unregister MDIO bus in _devm_mdiobus_free if needed
r8169: let managed MDIO bus handling unregister the MDIO bus
drivers/net/ethernet/realtek/r8169_main.c | 11 ++---------
drivers/net/phy/mdio_bus.c | 7 ++++++-
2 files changed, 8 insertions(+), 10 deletions(-)
--
2.25.0
Powered by blists - more mailing lists