zephyr/drivers/led_strip
Kumar Gala 36049b1657 drivers: Convert to use DT_INST_FOREACH
Convert drivers that have the following pattern:

   #if DT_INST_NODE_HAS_PROP(0, label)
   INIT_MACRO(0)
   #endif

   ...

   #if DT_INST_NODE_HAS_PROP(n, label)
   INIT_MACRO(n)
   #endif

to use DT_INST_FOREACH(INIT_MACRO) instead.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-03-31 19:29:22 -05:00
..
CMakeLists.txt drivers: led_strip: modernize and fix up ws2812 drivers/sample 2020-02-05 12:00:36 +01:00
Kconfig drivers: led_strip: modernize and fix up ws2812 drivers/sample 2020-02-05 12:00:36 +01:00
Kconfig.apa102
Kconfig.lpd880x
Kconfig.ws2812 kconfig: Replace some single-symbol 'if's with 'depends on' 2020-02-08 08:32:42 -05:00
apa102.c drivers: led_strip: Convert to new DT_INST macros 2020-03-26 05:19:00 -05:00
lpd880x.c drivers: led_strip: Convert to new DT_INST macros 2020-03-26 05:19:00 -05:00
ws2812_gpio.c drivers: Convert to use DT_INST_FOREACH 2020-03-31 19:29:22 -05:00
ws2812_spi.c drivers: Convert to use DT_INST_FOREACH 2020-03-31 19:29:22 -05:00