diff mbox series

[v2,2/2] net: phy: at803x: remove set/get wol callbacks for AR8032

Message ID 20230224225158.12229-1-leoyang.li@nxp.com (mailing list archive)
State Changes Requested
Delegated to: Netdev Maintainers
Headers show
Series None | expand

Commit Message

Leo Li Feb. 24, 2023, 10:51 p.m. UTC
Since the AR8032 part does not support wol, remove related callbacks
from it.

Fixes: 5800091a2061 ("net: phy: at803x: add support for AR8032 PHY")
Signed-off-by: Li Yang <leoyang.li@nxp.com>
---
 drivers/net/phy/at803x.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Jakub Kicinski Feb. 25, 2023, 3:39 a.m. UTC | #1
On Fri, 24 Feb 2023 16:51:58 -0600 Li Yang wrote:
> Since the AR8032 part does not support wol, remove related callbacks
> from it.
> 
> Fixes: 5800091a2061 ("net: phy: at803x: add support for AR8032 PHY")
> Signed-off-by: Li Yang <leoyang.li@nxp.com>

You need to repost the entire series, please, both patches.
diff mbox series

Patch

diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c
index 2102279b3964..ac47a1d681b2 100644
--- a/drivers/net/phy/at803x.c
+++ b/drivers/net/phy/at803x.c
@@ -2079,8 +2079,6 @@  static struct phy_driver at803x_driver[] = {
 	.flags			= PHY_POLL_CABLE_TEST,
 	.config_init		= at803x_config_init,
 	.link_change_notify	= at803x_link_change_notify,
-	.set_wol		= at803x_set_wol,
-	.get_wol		= at803x_get_wol,
 	.suspend		= at803x_suspend,
 	.resume			= at803x_resume,
 	/* PHY_BASIC_FEATURES */