• I
    net: phy: amd: remove the use of .ack_interrupt() · 347917c7
    Ioana Ciornei 提交于
    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: NIoana Ciornei <ioana.ciornei@nxp.com>
    Signed-off-by: NJakub Kicinski <kuba@kernel.org>
    347917c7
amd.c 2.3 KB