]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
leds: aat1290: Move driver to flash subdirectory
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 28 May 2021 20:23:59 +0000 (22:23 +0200)
committerPavel Machek <pavel@ucw.cz>
Mon, 12 Jul 2021 08:30:04 +0000 (10:30 +0200)
We created a subdirectory for LED drivers that depend on
CONFIG_LEDS_CLASS_FLASH, and this driver does so let's
move it there.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/flash/Kconfig
drivers/leds/flash/Makefile
drivers/leds/flash/leds-aat1290.c [moved from drivers/leds/leds-aat1290.c with 100% similarity]

index bdf16180f5ffe0145a0bbddabb08772d94341fd0..a350d8fbb08532cf399de02130a1781817433eca 100644 (file)
@@ -59,16 +59,6 @@ config LEDS_88PM860X
          This option enables support for on-chip LED drivers found on Marvell
          Semiconductor 88PM8606 PMIC.
 
-config LEDS_AAT1290
-       tristate "LED support for the AAT1290"
-       depends on LEDS_CLASS_FLASH
-       depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
-       depends on GPIOLIB || COMPILE_TEST
-       depends on OF
-       depends on PINCTRL
-       help
-         This option enables support for the LEDs on the AAT1290.
-
 config LEDS_AN30259A
        tristate "LED support for Panasonic AN30259A"
        depends on LEDS_CLASS && I2C && OF
index 7e604d3028c80ac9e4998582b473ef227213b2e1..c7231975837ad83f5bfe8335809d8e27a710ce2a 100644 (file)
@@ -9,7 +9,6 @@ obj-$(CONFIG_LEDS_TRIGGERS)             += led-triggers.o
 
 # LED Platform Drivers (keep this sorted, M-| sort)
 obj-$(CONFIG_LEDS_88PM860X)            += leds-88pm860x.o
-obj-$(CONFIG_LEDS_AAT1290)             += leds-aat1290.o
 obj-$(CONFIG_LEDS_ACER_A500)           += leds-acer-a500.o
 obj-$(CONFIG_LEDS_ADP5520)             += leds-adp5520.o
 obj-$(CONFIG_LEDS_AN30259A)            += leds-an30259a.o
index 3f49f3edbffb50276313c85c740f584bcc601125..736153b0bfd67beb8483f82de213054e55e7fb9f 100644 (file)
@@ -2,6 +2,15 @@
 
 if LEDS_CLASS_FLASH
 
+config LEDS_AAT1290
+       tristate "LED support for the AAT1290"
+       depends on V4L2_FLASH_LED_CLASS || !V4L2_FLASH_LED_CLASS
+       depends on GPIOLIB || COMPILE_TEST
+       depends on OF
+       depends on PINCTRL
+       help
+         This option enables support for the LEDs on the AAT1290.
+
 config LEDS_RT4505
        tristate "LED support for RT4505 flashlight controller"
        depends on I2C && OF
index 09aee561f769793d92bb051b80c6d837a1669541..11bec5881d51dc6de2ffeac456a62fdf1da68f57 100644 (file)
@@ -1,4 +1,5 @@
 # SPDX-License-Identifier: GPL-2.0
 
+obj-$(CONFIG_LEDS_AAT1290)     += leds-aat1290.o
 obj-$(CONFIG_LEDS_RT4505)      += leds-rt4505.o
 obj-$(CONFIG_LEDS_RT8515)      += leds-rt8515.o