diff options
author | David S. Miller | 2018-11-11 18:37:04 +0100 |
---|---|---|
committer | David S. Miller | 2018-11-11 18:37:04 +0100 |
commit | d79e26a7efc22c4cc2cd66529cc3bd4e0ed5938a (patch) | |
tree | dee28465b4a5bfe7089cb9d6a21910ba71fd54a3 /include/linux/memremap.h | |
parent | sctp: Fix SKB list traversal in sctp_intl_store_ordered(). (diff) | |
parent | net: phy: remove flag PHY_HAS_INTERRUPT from driver configs (diff) | |
download | kernel-qcow2-linux-d79e26a7efc22c4cc2cd66529cc3bd4e0ed5938a.tar.gz kernel-qcow2-linux-d79e26a7efc22c4cc2cd66529cc3bd4e0ed5938a.tar.xz kernel-qcow2-linux-d79e26a7efc22c4cc2cd66529cc3bd4e0ed5938a.zip |
Merge branch 'remove-PHY_HAS_INTERRUPT'
Heiner Kallweit says:
====================
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.
This allows to remove this flag from all driver configs.
v2:
- add helper for check in patch 1
- remove PHY_HAS_INTERRUPT from all drivers, not only Realtek
- remove flag PHY_HAS_INTERRUPT completely
v3:
- rebase patch 2
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/memremap.h')
0 files changed, 0 insertions, 0 deletions