net: phy: Threaded interrupts allow some simplification
authorAndrew Lunn <andrew@lunn.ch>
Sun, 16 Oct 2016 17:56:51 +0000 (19:56 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 17 Oct 2016 15:18:08 +0000 (11:18 -0400)
commit664fcf123a30edf16b47d2ce1f610d654ba917b2
treec458a1bdf5033c4fc1bd2384e643965f1c38f880
parentc974bdbc3e7734e72d6347afc49f806342578e75
net: phy: Threaded interrupts allow some simplification

The PHY interrupts are now handled in a threaded interrupt handler,
which can sleep. The work queue is no longer needed, phy_change() can
be called directly. phy_mac_interrupt() still needs to be safe to call
in interrupt context, so keep the work queue, and use a helper to call
phy_change().

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c
include/linux/phy.h