]> git.baikalelectronics.ru Git - kernel.git/commit
net: mdio: add mdiobus_modify_changed()
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Wed, 6 Oct 2021 12:19:20 +0000 (13:19 +0100)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 Oct 2021 00:49:16 +0000 (17:49 -0700)
commitb61606c65adf5ea751bf1a01305d04c96485c457
tree86863cc6016515a3f61464d48287e64f65621b12
parent3bcdf2cd0b929978509c60bbb613eb75aaeebc71
net: mdio: add mdiobus_modify_changed()

Add mdiobus_modify_changed() helper to reflect the phylib and similar
equivalents. This will avoid this functionality being open-coded, as
has already happened in phylink, and it looks like other users will be
appearing soon.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/mdio_bus.c
include/linux/mdio.h