Now that flag PHY_HAS_INTERRUPT has been replaced with a check for callbacks config_intr and ack_interrupt, we can remove setting this flag from driver configs.
Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com> --- drivers/net/phy/realtek.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/phy/realtek.c b/drivers/net/phy/realtek.c index abff4cdc9..3985b4a4d 100644 --- a/drivers/net/phy/realtek.c +++ b/drivers/net/phy/realtek.c @@ -216,12 +216,10 @@ static struct phy_driver realtek_drvs[] = { .phy_id = 0x00008201, .name = "RTL8201CP Ethernet", .features = PHY_BASIC_FEATURES, - .flags = PHY_HAS_INTERRUPT, }, { .phy_id = 0x001cc816, .name = "RTL8201F Fast Ethernet", .features = PHY_BASIC_FEATURES, - .flags = PHY_HAS_INTERRUPT, .ack_interrupt = &rtl8201_ack_interrupt, .config_intr = &rtl8201_config_intr, .suspend = genphy_suspend, @@ -239,7 +237,6 @@ static struct phy_driver realtek_drvs[] = { .phy_id = 0x001cc912, .name = "RTL8211B Gigabit Ethernet", .features = PHY_GBIT_FEATURES, - .flags = PHY_HAS_INTERRUPT, .ack_interrupt = &rtl821x_ack_interrupt, .config_intr = &rtl8211b_config_intr, .read_mmd = &genphy_read_mmd_unsupported, @@ -257,7 +254,6 @@ static struct phy_driver realtek_drvs[] = { .phy_id = 0x001cc914, .name = "RTL8211DN Gigabit Ethernet", .features = PHY_GBIT_FEATURES, - .flags = PHY_HAS_INTERRUPT, .ack_interrupt = rtl821x_ack_interrupt, .config_intr = rtl8211e_config_intr, .suspend = genphy_suspend, @@ -266,7 +262,6 @@ static struct phy_driver realtek_drvs[] = { .phy_id = 0x001cc915, .name = "RTL8211E Gigabit Ethernet", .features = PHY_GBIT_FEATURES, - .flags = PHY_HAS_INTERRUPT, .ack_interrupt = &rtl821x_ack_interrupt, .config_intr = &rtl8211e_config_intr, .suspend = genphy_suspend, @@ -275,7 +270,6 @@ static struct phy_driver realtek_drvs[] = { .phy_id = 0x001cc916, .name = "RTL8211F Gigabit Ethernet", .features = PHY_GBIT_FEATURES, - .flags = PHY_HAS_INTERRUPT, .config_init = &rtl8211f_config_init, .ack_interrupt = &rtl8211f_ack_interrupt, .config_intr = &rtl8211f_config_intr, @@ -287,7 +281,6 @@ static struct phy_driver realtek_drvs[] = { .phy_id = 0x001cc961, .name = "RTL8366RB Gigabit Ethernet", .features = PHY_GBIT_FEATURES, - .flags = PHY_HAS_INTERRUPT, .config_init = &rtl8366rb_config_init, .suspend = genphy_suspend, .resume = genphy_resume, -- 2.19.1