leds: max5970: Make use of device properties
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 14 Dec 2023 18:40:09 +0000 (20:40 +0200)
committerLee Jones <lee@kernel.org>
Thu, 21 Dec 2023 14:42:59 +0000 (14:42 +0000)
commit6d63d05e26f8d5e22308efc25793660101fd7602
treed526c1826564f94343f674c9d2496246cb7c0412
parentd3578b4982e6ebccbd898806ac86b2db4b2bcc5e
leds: max5970: Make use of device properties

Convert the module to be property provider agnostic and allow
it to be used on non-OF platforms.

Add mod_devicetable.h include.

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