net: phy: change phy_start_interrupts to phy_request_interrupt
authorHeiner Kallweit <hkallweit1@gmail.com>
Wed, 23 Jan 2019 06:31:58 +0000 (07:31 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 Jan 2019 06:15:15 +0000 (22:15 -0800)
commit434a4315b9617bf1742bc64712bf44a208502f7f
treee9db332e38b6e90f441d4763b7e33ad83986486f
parent9e573cfc35c6ffac45e385ed4f14f5187c09090a
net: phy: change phy_start_interrupts to phy_request_interrupt

Now that we enable the interrupts in phy_start() we don't have to do it
before. Therefore remove enabling interrupts from phy_start_interrupts()
and rename this function to reflect the changed functionality.

v2:
- improve warning to clearly state that we fall back to polling

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
drivers/net/phy/phy_device.c
drivers/net/phy/phylink.c
include/linux/phy.h