summaryrefslogtreecommitdiff
path: root/drivers/net/phy/icplus.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-11-23 17:38:04 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-25 11:18:37 -0800
commit16c9709a75043d58ded3fb01807a6c0cd456ea49 (patch)
tree4e6b0e77f7f5cf76175aa43ac05f30820689c4e1 /drivers/net/phy/icplus.c
parent1566db0439525fc0ef29c496d73f7e984d280319 (diff)
net: phy: intel-xway: remove the use of .ack_interrupt()
In preparation of removing the .ack_interrupt() callback, we must replace its occurrences (aka phy_clear_interrupt), from the 2 places where it is called from (phy_enable_interrupts and phy_disable_interrupts), with equivalent functionality. This means that clearing interrupts now becomes something that the PHY driver is responsible of doing, before enabling interrupts and after clearing them. Make this driver follow the new contract. Cc: Mathias Kresin <dev@kresin.me> Cc: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/icplus.c')
0 files changed, 0 insertions, 0 deletions