aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHeiner Kallweit <[email protected]>2018-11-09 18:16:28 +0100
committerDavid S. Miller <[email protected]>2018-11-11 09:36:46 -0800
commit0d2e778e38e0ddffab4bb2b0e9ed2ad5165c4bf7 (patch)
treedef62a426e054c6bf2daa617f5eae0572d01e7b0 /tools/perf/scripts/python
parente15e067d0656625c77c52b4e5f0cfbf0c0c3583f (diff)
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 <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions