[PATCH] b43: only hardcode LED behavior if SPROM doesn't encode any

2016-06-03 Thread Lucas Stach
Only hardcode the LED behavior if the SROM doesn't provide any for all LEDs of the card. This avoids instantiating LED triggers for unconnected LEDs, while (hopefully) keeping things working for old cards with a blank SROM. Signed-off-by: Lucas Stach --- drivers/net/wireless/broadcom/b43/leds.c

Re: [PATCH] b43: only hardcode LED behavior if SPROM doesn't encode any

2016-06-03 Thread Michael Büsch
On Fri, 3 Jun 2016 23:04:03 +0200 Lucas Stach wrote: > Only hardcode the LED behavior if the SROM doesn't provide any for all > LEDs of the card. This avoids instantiating LED triggers for unconnected > LEDs, while (hopefully) keeping things working for old cards with a > blank SROM. > > Signed