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 09:36:56 -0800 |
commit | a4307c0ec66131e722a8fa0f1da09646c46ee924 (patch) | |
tree | dee28465b4a5bfe7089cb9d6a21910ba71fd54a3 /drivers/net/phy/lxt.c | |
parent | 0d2e778e38e0ddffab4bb2b0e9ed2ad5165c4bf7 (diff) | |
download | linux-a4307c0ec66131e722a8fa0f1da09646c46ee924.tar.gz linux-a4307c0ec66131e722a8fa0f1da09646c46ee924.tar.bz2 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/lxt.c')
-rw-r--r-- | drivers/net/phy/lxt.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/lxt.c b/drivers/net/phy/lxt.c index c14b254b2879..c9e2c84c25c0 100644 --- a/drivers/net/phy/lxt.c +++ b/drivers/net/phy/lxt.c @@ -257,7 +257,6 @@ static struct phy_driver lxt97x_driver[] = { .name = "LXT970", .phy_id_mask = 0xfffffff0, .features = PHY_BASIC_FEATURES, - .flags = PHY_HAS_INTERRUPT, .config_init = lxt970_config_init, .ack_interrupt = lxt970_ack_interrupt, .config_intr = lxt970_config_intr, @@ -266,7 +265,6 @@ static struct phy_driver lxt97x_driver[] = { .name = "LXT971", .phy_id_mask = 0xfffffff0, .features = PHY_BASIC_FEATURES, - .flags = PHY_HAS_INTERRUPT, .ack_interrupt = lxt971_ack_interrupt, .config_intr = lxt971_config_intr, }, { |