diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2018-11-09 18:16:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-11 18:36:46 +0100 |
commit | 0d2e778e38e0ddffab4bb2b0e9ed2ad5165c4bf7 (patch) | |
tree | def62a426e054c6bf2daa617f5eae0572d01e7b0 /drivers/virt | |
parent | sctp: Fix SKB list traversal in sctp_intl_store_ordered(). (diff) | |
download | linux-0d2e778e38e0ddffab4bb2b0e9ed2ad5165c4bf7.tar.xz linux-0d2e778e38e0ddffab4bb2b0e9ed2ad5165c4bf7.zip |
net: phy: replace PHY_HAS_INTERRUPT with a check for config_intr and ack_interrupt
Flag PHY_HAS_INTERRUPT is used only here for this small check. I think
using interrupts isn't possible if a driver defines neither
config_intr nor ack_interrupts callback. So we can replace checking
flag PHY_HAS_INTERRUPT with checking for these callbacks.
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/virt')
0 files changed, 0 insertions, 0 deletions