diff options
author | Ioana Ciornei <ioana.ciornei@nxp.com> | 2020-11-13 18:52:10 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-11-17 11:36:59 -0800 |
commit | e96a0d9774640af2af66965038baf3222bb43d36 (patch) | |
tree | 074b298cecf16df3c7d28a11b3413ee387a59342 /tools/power | |
parent | b606ad8fa28315436fdb87100f9832d1ba0731c4 (diff) |
net: phy: vitesse: 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: Kavya Sree Kotagiri <kavyasree.kotagiri@microchip.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Ioana Ciornei <ioana.ciornei@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/power')
0 files changed, 0 insertions, 0 deletions