aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/phy/phy.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-11-13 18:52:12 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-17 11:36:59 -0800
commitcf499391982d877e9313d2adeedcf5f1ffe05d6e (patch)
tree2954032791244f314ecfa4eb17ad54c77c2f866f /drivers/net/phy/phy.c
parentnet: phy: microchip: implement generic .handle_interrupt() callback (diff)
downloadwireguard-linux-cf499391982d877e9313d2adeedcf5f1ffe05d6e.tar.xz
wireguard-linux-cf499391982d877e9313d2adeedcf5f1ffe05d6e.zip
net: phy: microchip: 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: Nisar Sayed <Nisar.Sayed@microchip.com> Cc: Yuiko Oshino <yuiko.oshino@microchip.com> Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/phy.c')
0 files changed, 0 insertions, 0 deletions