summaryrefslogtreecommitdiff
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorIoana Ciornei <ioana.ciornei@nxp.com>2020-11-01 14:51:11 +0200
committerJakub Kicinski <kuba@kernel.org>2020-11-05 16:32:39 -0800
commit0d65cc189c9a89ca609086bf1b2a39ef8c7c11ca (patch)
treef636b883d97fde18088d8501f3546c9fc7f608a8 /drivers/net/phy/phy_device.c
parente954631cd22ec4ddc7318e1537a65549d29b67cb (diff)
net: phy: davicom: 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. Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
0 files changed, 0 insertions, 0 deletions