summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2009-10-04 20:53:43 (GMT)
committerJean Delvare <khali@linux-fr.org>2009-10-04 20:53:43 (GMT)
commit77279862bad879c1c194171f5cf6b5b0e7abe384 (patch)
tree03dc76b4f256bcf99bb70ffb9c7fbaf671af0a75 /drivers
parent2d2a7cff1b63cde1e2d981eea8ae9e69ae9ce96d (diff)
downloadlinux-77279862bad879c1c194171f5cf6b5b0e7abe384.tar.xz
leds: leds-pca9532 - Drop unused module parameters
The I2C_CLIENT_INSMOD_1 macro is only useful for i2c drivers which implement device detection. The leds-pca9532 driver doesn't, so there is no point in calling it. Signed-off-by: Jean Delvare <khali@linux-fr.org> Cc: Richard Purdie <rpurdie@rpsys.net> Cc: Riku Voipio <riku.voipio@iki.fi>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/leds/leds-pca9532.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/leds/leds-pca9532.c b/drivers/leds/leds-pca9532.c
index 708a801..adc561e 100644
--- a/drivers/leds/leds-pca9532.c
+++ b/drivers/leds/leds-pca9532.c
@@ -19,9 +19,6 @@
#include <linux/workqueue.h>
#include <linux/leds-pca9532.h>
-static const unsigned short normal_i2c[] = { /*0x60,*/ I2C_CLIENT_END};
-I2C_CLIENT_INSMOD_1(pca9532);
-
#define PCA9532_REG_PSC(i) (0x2+(i)*2)
#define PCA9532_REG_PWM(i) (0x3+(i)*2)
#define PCA9532_REG_LS0 0x6