Skip to content

Commit 818d03b

Browse files
svenschwermerpavelmachek
authored andcommitted
leds: Move pwm-multicolor driver into rgb directory
The drivers/leds/rgb subdirectory is relatively fresh, so we move this new PWM multi-color driver into it. Signed-off-by: Sven Schwermer <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
1 parent 9fa2762 commit 818d03b

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

drivers/leds/Kconfig

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -552,17 +552,6 @@ config LEDS_PWM
552552
help
553553
This option enables support for pwm driven LEDs
554554

555-
config LEDS_PWM_MULTICOLOR
556-
tristate "PWM driven multi-color LED Support"
557-
depends on LEDS_CLASS_MULTICOLOR
558-
depends on PWM
559-
help
560-
This option enables support for PWM driven monochrome LEDs that are
561-
grouped into multicolor LEDs.
562-
563-
To compile this driver as a module, choose M here: the module
564-
will be called leds-pwm-multicolor.
565-
566555
config LEDS_REGULATOR
567556
tristate "REGULATOR driven LED support"
568557
depends on LEDS_CLASS

drivers/leds/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
7373
obj-$(CONFIG_LEDS_PM8058) += leds-pm8058.o
7474
obj-$(CONFIG_LEDS_POWERNV) += leds-powernv.o
7575
obj-$(CONFIG_LEDS_PWM) += leds-pwm.o
76-
obj-$(CONFIG_LEDS_PWM_MULTICOLOR) += leds-pwm-multicolor.o
7776
obj-$(CONFIG_LEDS_REGULATOR) += leds-regulator.o
7877
obj-$(CONFIG_LEDS_S3C24XX) += leds-s3c24xx.o
7978
obj-$(CONFIG_LEDS_SC27XX_BLTC) += leds-sc27xx-bltc.o

drivers/leds/rgb/Kconfig

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22

33
if LEDS_CLASS_MULTICOLOR
44

5+
config LEDS_PWM_MULTICOLOR
6+
tristate "PWM driven multi-color LED Support"
7+
depends on PWM
8+
help
9+
This option enables support for PWM driven monochrome LEDs that are
10+
grouped into multicolor LEDs.
11+
12+
To compile this driver as a module, choose M here: the module
13+
will be called leds-pwm-multicolor.
14+
515
config LEDS_QCOM_LPG
616
tristate "LED support for Qualcomm LPG"
717
depends on OF

drivers/leds/rgb/Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# SPDX-License-Identifier: GPL-2.0
22

3-
obj-$(CONFIG_LEDS_QCOM_LPG) += leds-qcom-lpg.o
3+
obj-$(CONFIG_LEDS_PWM_MULTICOLOR) += leds-pwm-multicolor.o
4+
obj-$(CONFIG_LEDS_QCOM_LPG) += leds-qcom-lpg.o

0 commit comments

Comments
 (0)