leds: an30259a: Get rid of custom led_init_default_state_get()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 3 Jan 2023 13:12:48 +0000 (15:12 +0200)
committerLee Jones <lee@kernel.org>
Mon, 30 Jan 2023 08:03:36 +0000 (08:03 +0000)
commit5ff422a77d1a4e7ec7de063bfd3dabe3b1a70510
tree3debe93da9e2b2540d09f179f02ce94b8094a573
parent156a5bb89ca6f3edd2be0bfd0de15e575442927e
leds: an30259a: 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>
Signed-off-by: Lee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230103131256.33894-4-andriy.shevchenko@linux.intel.com
drivers/leds/leds-an30259a.c