Skip to content

leds: spi-byte: Cleanup, fix a leak, and make it agnostic

Andy Shevchenko linux-leds lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 2 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6leds: spi-byte: call of_node_put() on error pathdrivers/leds/leds-spi-byte.c+5 -11 reply
2/6leds: spi-byte: Get rid of custom led_init_default_state_get()drivers/leds/leds-spi-byte.c+5 -120 replies
3/6leds: spi-byte: Make use of device propertiesdrivers/leds/Kconfig drivers/leds/leds-spi-byte.c+7 -90 replies
4/6leds: spi-byte: Utilise temporary variable for struct devicedrivers/leds/leds-spi-byte.c+1 -10 replies
5/6leds: spi-byte: Use devm_mutex_init() for mutex initializationdrivers/leds/leds-spi-byte.c+6 -200 replies
6/6leds: spi-byte: Move OF ID table closer to their userdrivers/leds/leds-spi-byte.c+6 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH v1 0/6] leds: spi-byte: Cleanup, fix a leak, and make it agnostic

Clean up the driver, fix one leak, and make it possible to use outside of OF systems.

Andy Shevchenko (6):
leds: spi-byte: call of_node_put() on error path
leds: spi-byte: Get rid of custom led_init_default_state_get()
leds: spi-byte: Make use of device properties
leds: spi-byte: Utilise temporary variable for struct device
leds: spi-byte: Use devm_mutex_init() for mutex initialization
leds: spi-byte: Move OF ID table closer to their user

 drivers/leds/Kconfig         |  1 -
 drivers/leds/leds-spi-byte.c | 63 +++++++++++++-----------------------
 2 files changed, 22 insertions(+), 42 deletions(-)
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac