Commit 56a1740c authored by Ricardo Ribalda Delgado's avatar Ricardo Ribalda Delgado Committed by Bryan Wu

leds-pca9633: Rename to leds-pca963x

The driver now supports the chips pca9633 and pca9634, therefore we
rename the files to more generic and meaningul names
Signed-off-by: default avatarRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: default avatarBryan Wu <cooloney@gmail.com>
parent a7d0e988
...@@ -291,7 +291,7 @@ config LEDS_PCA955X ...@@ -291,7 +291,7 @@ config LEDS_PCA955X
LED driver chips accessed via the I2C bus. Supported LED driver chips accessed via the I2C bus. Supported
devices include PCA9550, PCA9551, PCA9552, and PCA9553. devices include PCA9550, PCA9551, PCA9552, and PCA9553.
config LEDS_PCA9633 config LEDS_PCA963X
tristate "LED support for PCA963x I2C chip" tristate "LED support for PCA963x I2C chip"
depends on LEDS_CLASS depends on LEDS_CLASS
depends on I2C depends on I2C
......
...@@ -35,7 +35,7 @@ obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o ...@@ -35,7 +35,7 @@ obj-$(CONFIG_LEDS_HP6XX) += leds-hp6xx.o
obj-$(CONFIG_LEDS_OT200) += leds-ot200.o obj-$(CONFIG_LEDS_OT200) += leds-ot200.o
obj-$(CONFIG_LEDS_FSG) += leds-fsg.o obj-$(CONFIG_LEDS_FSG) += leds-fsg.o
obj-$(CONFIG_LEDS_PCA955X) += leds-pca955x.o obj-$(CONFIG_LEDS_PCA955X) += leds-pca955x.o
obj-$(CONFIG_LEDS_PCA9633) += leds-pca9633.o obj-$(CONFIG_LEDS_PCA963X) += leds-pca963x.o
obj-$(CONFIG_LEDS_DA903X) += leds-da903x.o obj-$(CONFIG_LEDS_DA903X) += leds-da903x.o
obj-$(CONFIG_LEDS_DA9052) += leds-da9052.o obj-$(CONFIG_LEDS_DA9052) += leds-da9052.o
obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o obj-$(CONFIG_LEDS_WM831X_STATUS) += leds-wm831x-status.o
......
/* /*
* PCA9633 LED chip driver. * PCA963X LED chip driver.
* *
* Copyright 2012 bct electronic GmbH * Copyright 2012 bct electronic GmbH
* Copyright 2013 Qtechnology A/S
* *
* This program is free software; you can redistribute it and/or * This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License * modify it under the terms of the GNU General Public License
...@@ -18,24 +19,24 @@ ...@@ -18,24 +19,24 @@
* 02110-1301 USA * 02110-1301 USA
*/ */
#ifndef __LINUX_PCA9633_H #ifndef __LINUX_PCA963X_H
#define __LINUX_PCA9633_H #define __LINUX_PCA963X_H
#include <linux/leds.h> #include <linux/leds.h>
enum pca9633_outdrv { enum pca963x_outdrv {
PCA9633_OPEN_DRAIN, PCA963X_OPEN_DRAIN,
PCA9633_TOTEM_POLE, /* aka push-pull */ PCA963X_TOTEM_POLE, /* aka push-pull */
}; };
enum pca9633_blink_type { enum pca963x_blink_type {
PCA9633_SW_BLINK, PCA963X_SW_BLINK,
PCA9633_HW_BLINK, PCA963X_HW_BLINK,
}; };
struct pca9633_platform_data { struct pca963x_platform_data {
struct led_platform_data leds; struct led_platform_data leds;
enum pca9633_outdrv outdrv; enum pca963x_outdrv outdrv;
enum pca9633_blink_type blink_type; enum pca963x_blink_type blink_type;
}; };
#endif /* __LINUX_PCA9633_H*/ #endif /* __LINUX_PCA963X_H*/
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment