Skip to contentSkip to conversation

leds: sun50i-a100: Convert to be agnostic to property provider

PATCH Applied Andy Shevchenko 3 participants 3 messages Dec 14, 2023 – Dec 21, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 leds: sun50i-a100: Convert to be agnostic to property provider

Convert the driver to be agnostic to the property provider. LEDS subsytem is not dependent on OF, so no need to make drivers be a such.

---
 drivers/leds/Kconfig            |  2 +-
 drivers/leds/leds-sun50i-a100.c | 46 ++++++++++++++++-----------------
 2 files changed, 24 insertions(+), 24 deletions(-)
drivers/leds/Kconfig +1 -1
index ef2bdf51ae91..8a1471a0b528 100644
@@ -304,7 +304,7 @@ config LEDS_COBALT_RAQ
 
 config LEDS_SUN50I_A100
 	tristate "LED support for Allwinner A100 RGB LED controller"
-	depends on LEDS_CLASS_MULTICOLOR && OF
+	depends on LEDS_CLASS_MULTICOLOR
 	depends on ARCH_SUNXI || COMPILE_TEST
 	help
 	  This option enables support for the RGB LED controller found
drivers/leds/leds-sun50i-a100.c +23 -23

139 lines not on this page · raw message

Signature · 1 line
2.43.0.rc1.1.gbec44491f096
maintainer Applied
#2 lore raw

Re: (subset) [PATCH v1 1/1] leds: sun50i-a100: Convert to be agnostic to property provider

In reply to Andy Shevchenko
Quoted 5 lines · Andy Shevchenko

Convert the driver to be agnostic to the property provider. LEDS subsytem is not dependent on OF, so no need to make drivers be a such.

Applied, thanks!

[1/1] leds: sun50i-a100: Convert to be agnostic to property provider

      commit: 06c5206ccdb459de95bb8d558602d2a722dd4bbc

--
Lee Jones [李琼斯]