Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

leds: ktd2692: Move driver to flash subdirectory

We created a subdirectory for LED drivers that depend on
CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
move it there.

Cc: Ingi Kim <ingi2.kim@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Pavel Machek <pavel@ucw.cz>

authored by

Linus Walleij and committed by
Pavel Machek
51f3b2c3 61fa67a4

+11 -11
-10
drivers/leds/Kconfig
··· 702 702 This driver can also be built as a module. If so the module 703 703 will be called leds-menf21bmc. 704 704 705 - config LEDS_KTD2692 706 - tristate "LED support for KTD2692 flash LED controller" 707 - depends on LEDS_CLASS_FLASH && OF 708 - depends on GPIOLIB || COMPILE_TEST 709 - help 710 - This option enables support for KTD2692 LED flash connected 711 - through ExpressWire interface. 712 - 713 - Say Y to enable this driver. 714 - 715 705 config LEDS_IS31FL319X 716 706 tristate "LED Support for ISSI IS31FL319x I2C LED controller family" 717 707 depends on LEDS_CLASS && I2C && OF
-1
drivers/leds/Makefile
··· 35 35 obj-$(CONFIG_LEDS_IPAQ_MICRO) += leds-ipaq-micro.o 36 36 obj-$(CONFIG_LEDS_IS31FL319X) += leds-is31fl319x.o 37 37 obj-$(CONFIG_LEDS_IS31FL32XX) += leds-is31fl32xx.o 38 - obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o 39 38 obj-$(CONFIG_LEDS_LM3530) += leds-lm3530.o 40 39 obj-$(CONFIG_LEDS_LM3532) += leds-lm3532.o 41 40 obj-$(CONFIG_LEDS_LM3533) += leds-lm3533.o
+10
drivers/leds/flash/Kconfig
··· 20 20 controller. V4L2 flash API is provided as well if 21 21 CONFIG_V4L2_FLASH_API is enabled. 22 22 23 + config LEDS_KTD2692 24 + tristate "LED support for Kinetic KTD2692 flash LED controller" 25 + depends on OF 26 + depends on GPIOLIB || COMPILE_TEST 27 + help 28 + This option enables support for Kinetic KTD2692 LED flash connected 29 + through ExpressWire interface. 30 + 31 + Say Y to enable this driver. 32 + 23 33 config LEDS_LM3601X 24 34 tristate "LED support for LM3601x Chips" 25 35 depends on LEDS_CLASS && I2C
+1
drivers/leds/flash/Makefile
··· 2 2 3 3 obj-$(CONFIG_LEDS_AAT1290) += leds-aat1290.o 4 4 obj-$(CONFIG_LEDS_AS3645A) += leds-as3645a.o 5 + obj-$(CONFIG_LEDS_KTD2692) += leds-ktd2692.o 5 6 obj-$(CONFIG_LEDS_LM3601X) += leds-lm3601x.o 6 7 obj-$(CONFIG_LEDS_MAX77693) += leds-max77693.o 7 8 obj-$(CONFIG_LEDS_RT4505) += leds-rt4505.o
drivers/leds/leds-ktd2692.c drivers/leds/flash/leds-ktd2692.c