diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2017-01-04 19:40:24 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2017-01-05 22:33:11 +0000 |
commit | 14276fa963028098616cf9ab6f3b8a69c3f4854b (patch) | |
tree | 30b4b40f9834ab726c35309abde39b30ea6254a6 /include/linux | |
parent | 323367354db8b1b00f3f397ffe6d8251a2b5de17 (diff) |
net: phy: remove the indirect MMD read/write methods
Remove the indirect MMD read/write methods which are now no longer
necessary.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/phy.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 3bad77f233ca..ce01c6cfbd88 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -581,24 +581,6 @@ struct phy_driver { int (*write_mmd)(struct phy_device *dev, int devnum, u16 regnum, u16 val); - /* A function provided by a phy specific driver to override the - * the PHY driver framework support for reading a MMD register - * from the PHY. If not supported, return -1. This function is - * optional for PHY specific drivers, if not provided then the - * default MMD read function is used by the PHY framework. - */ - int (*read_mmd_indirect)(struct phy_device *dev, int ptrad, - int devnum, int regnum); - - /* A function provided by a phy specific driver to override the - * the PHY driver framework support for writing a MMD register - * from the PHY. This function is optional for PHY specific drivers, - * if not provided then the default MMD read function is used by - * the PHY framework. - */ - void (*write_mmd_indirect)(struct phy_device *dev, int ptrad, - int devnum, int regnum, u32 val); - /* Get the size and type of the eeprom contained within a plug-in * module */ int (*module_info)(struct phy_device *dev, |