]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
leds: lp5521: move to drivers/leds
authorFelipe Balbi <felipe.balbi@nokia.com>
Fri, 13 Feb 2009 12:43:51 +0000 (14:43 +0200)
committerTony Lindgren <tony@atomide.com>
Tue, 17 Feb 2009 23:34:47 +0000 (15:34 -0800)
This driver should be sitting together with the other
led drivers.

Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/i2c/chips/Kconfig
drivers/i2c/chips/Makefile
drivers/leds/Kconfig
drivers/leds/Makefile
drivers/leds/leds-lp5521.c [moved from drivers/i2c/chips/lp5521.c with 100% similarity]

index bb95b3e9e13485976959e7f22c521906ea29eb62..e4831e1017f3b412f52b13ec23017d1b4ac468f3 100644 (file)
@@ -141,13 +141,6 @@ config SENSORS_TSL2563
          This driver can also be built as a module.  If so, the module
          will be called tsl2563.
 
-config LP5521
-       tristate "LP5521 LED driver chip"
-       depends on I2C
-       help
-         If you say yes here you get support for the National Semiconductor
-         LP5521 LED driver.
-
 config MENELAUS
        bool "TWL92330/Menelaus PM chip"
        depends on I2C=y && ARCH_OMAP24XX
index 32a395f7bb5e341eb8112a1f2ed3bdeea5b24124..1c947127b3d56a1cbf4f110d46a3f747a2f516d1 100644 (file)
@@ -21,7 +21,6 @@ obj-$(CONFIG_TWL4030_POWEROFF)        += twl4030-poweroff.o
 obj-$(CONFIG_TWL4030_PWRBUTTON)        += twl4030-pwrbutton.o
 obj-$(CONFIG_TWL4030_MADC)     += twl4030-madc.o
 obj-$(CONFIG_RTC_X1205_I2C)    += x1205.o
-obj-$(CONFIG_LP5521)           += lp5521.o
 
 ifeq ($(CONFIG_I2C_DEBUG_CHIP),y)
 EXTRA_CFLAGS += -DDEBUG
index 4d4ff64e27c02c4cf2ec6af72cb0a2b0c44ea4bf..8d0f37e8a5c62e86249ae7d3418d822c19ee405c 100644 (file)
@@ -134,6 +134,16 @@ config LEDS_GPIO
          outputs. To be useful the particular board must have LEDs
          and they must be connected to the GPIO lines.
 
+config LEDS_LP5521
+       tristate "LED Support for the LP5521 LEDs"
+       depends on LEDS_CLASS && I2C
+       help
+         If you say 'Y' here you get support for the National Semiconductor
+         LP5521 LED driver used in n8x0 boards.
+
+         This driver can be built as a module by choosing 'M'. The module
+         will be called leds-lp5521.
+
 config LEDS_CLEVO_MAIL
        tristate "Mail LED on Clevo notebook (EXPERIMENTAL)"
        depends on LEDS_CLASS && X86 && SERIO_I8042 && DMI && EXPERIMENTAL
index 7ac6ad3d055249100a8453e3046a873fe9d96223..4ab09e8f649f628951fb6ba300e56b3065e8bf8d 100644 (file)
@@ -19,6 +19,7 @@ obj-$(CONFIG_LEDS_COBALT_RAQ)         += leds-cobalt-raq.o
 obj-$(CONFIG_LEDS_SUNFIRE)             += leds-sunfire.o
 obj-$(CONFIG_LEDS_PCA9532)             += leds-pca9532.o
 obj-$(CONFIG_LEDS_GPIO)                        += leds-gpio.o
+obj-$(CONFIG_LEDS_LP5521)              += leds-lp5521.o
 obj-$(CONFIG_LEDS_CLEVO_MAIL)          += leds-clevo-mail.o
 obj-$(CONFIG_LEDS_HP6XX)               += leds-hp6xx.o
 obj-$(CONFIG_LEDS_FSG)                 += leds-fsg.o