net: phy: at803x: remove set/get wol callbacks for AR8032
authorLi Yang <leoyang.li@nxp.com>
Wed, 2 Aug 2023 19:13:47 +0000 (14:13 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Aug 2023 09:00:17 +0000 (10:00 +0100)
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>
Cc: David Bauer <mail@david-bauer.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c

index 9c2c2e2..8a77ec3 100644 (file)
@@ -2064,8 +2064,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 */