Re: [PATCH net-next + leds v2 5/7] net: phy: add support for LEDs controlled by ethernet PHY chips

2020-09-10 Thread Pavel Machek
On Wed 2020-09-09 18:25:50, Marek BehĂșn wrote: > This patch uses the new API for HW controlled LEDs to add support for > probing and control of LEDs connected to an ethernet PHY chip. > > A PHY driver wishing to utilize this API needs to implement the methods > in struct hw_controlled_led_ops and

[PATCH net-next + leds v2 5/7] net: phy: add support for LEDs controlled by ethernet PHY chips

2020-09-09 Thread Marek BehĂșn
This patch uses the new API for HW controlled LEDs to add support for probing and control of LEDs connected to an ethernet PHY chip. A PHY driver wishing to utilize this API needs to implement the methods in struct hw_controlled_led_ops and set the member led_ops in struct phy_driver to point to