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(-) -- 2.43.0.rc1.1336.g36b5255a03ac