summaryrefslogtreecommitdiff
path: root/drivers/net/phy/amd.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-11-13 18:52:18 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-17 11:37:00 -0800
commit45f52f1238512768c8ca29eb272e5794faf5b471 (patch)
tree511e147932cafaf0d333d8886aaeaa35598c1986 /drivers/net/phy/amd.c
parent52b1984a88ac1e6097ac519eb671a77afc80943d (diff)
net: phy: nxp-tja11xx: 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: Marek Vasut <marex@denx.de> Cc: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/amd.c')
0 files changed, 0 insertions, 0 deletions