diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-11-09 18:17:22 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-11 18:36:56 +0100 |
commit | a4307c0ec66131e722a8fa0f1da09646c46ee924 (patch) | |
tree | dee28465b4a5bfe7089cb9d6a21910ba71fd54a3 /drivers/net/phy/cicada.c | |
parent | net: phy: replace PHY_HAS_INTERRUPT with a check for config_intr and ack_inte... (diff) | |
download | linux-a4307c0ec66131e722a8fa0f1da09646c46ee924.tar.xz linux-a4307c0ec66131e722a8fa0f1da09646c46ee924.zip |
net: phy: remove flag PHY_HAS_INTERRUPT from driver configs
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 all driver configs.
Last but not least remove flag PHY_HAS_INTERRUPT completely.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/cicada.c')
-rw-r--r-- | drivers/net/phy/cicada.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/cicada.c b/drivers/net/phy/cicada.c index c05af00bf4b6..fea61c81bda9 100644 --- a/drivers/net/phy/cicada.c +++ b/drivers/net/phy/cicada.c @@ -108,7 +108,6 @@ static struct phy_driver cis820x_driver[] = { .name = "Cicada Cis8201", .phy_id_mask = 0x000ffff0, .features = PHY_GBIT_FEATURES, - .flags = PHY_HAS_INTERRUPT, .config_init = &cis820x_config_init, .ack_interrupt = &cis820x_ack_interrupt, .config_intr = &cis820x_config_intr, @@ -117,7 +116,6 @@ static struct phy_driver cis820x_driver[] = { .name = "Cicada Cis8204", .phy_id_mask = 0x000fffc0, .features = PHY_GBIT_FEATURES, - .flags = PHY_HAS_INTERRUPT, .config_init = &cis820x_config_init, .ack_interrupt = &cis820x_ack_interrupt, .config_intr = &cis820x_config_intr, |