]> 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)
commitb1837b5e9f1c8f6e88675cf84c61e1d2f488b1a7
tree86863cc6016515a3f61464d48287e64f65621b12
parenta7bcf781cd30809637dff459e275f02835570181
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