]> www.infradead.org Git - users/jedix/linux-maple.git/commit
leds: spi-byte: Get rid of custom led_init_default_state_get()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Jun 2024 17:29:19 +0000 (20:29 +0300)
committerLee Jones <lee@kernel.org>
Wed, 26 Jun 2024 15:56:04 +0000 (16:56 +0100)
commit4b268456e0aa287595b3de82da673c2c9178dedb
tree220954a24e62f6b3189415b565f67ceadac4cfed
parent7f9ab862e05c5bc755f65bf6db7edcffb3b49dfc
leds: spi-byte: Get rid of custom led_init_default_state_get()

LED core provides a helper to parse default state from firmware node.
Use it instead of custom implementation.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240606173037.3091598-3-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/leds/leds-spi-byte.c