net: phy: phy_device: Call into the PHY driver to set LED blinking
authorAndrew Lunn <andrew@lunn.ch>
Mon, 17 Apr 2023 15:17:30 +0000 (17:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Apr 2023 11:59:16 +0000 (12:59 +0100)
commit4e901018432e38eab35d2a352661ce4727795be1
tree8dc744ed912d15e346b076c635ff348870f13cb0
parent2d3960e58ef7c83fe1dbf952f056b9e906cb6df8
net: phy: phy_device: Call into the PHY driver to set LED blinking

Linux LEDs can be requested to perform hardware accelerated
blinking. Pass this to the PHY driver, if it implements the op.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy_device.c
include/linux/phy.h