aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/leds
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-03-23 18:02:13 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2012-03-23 19:58:35 -0400
commit1a1278da5ccef255075c03dccc567d46e162c674 (patch)
tree1e5f42ae4acb4ea6422e7ab169727b6a27ac1cc6 /drivers/leds
parent99ad98d25961487d83ac4afac0375fe1f3e5c883 (diff)
drivers/leds/leds-pca9633.c: remove unused 'adapter' variable
Signed-off-by: Axel Lin <axel.lin@gmail.com> Cc: Peter Meerwald <p.meerwald@bct-electronic.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/leds')
-rw-r--r--drivers/leds/leds-pca9633.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/leds/leds-pca9633.c b/drivers/leds/leds-pca9633.c
index 80cb61adc2d6..d8926fd031aa 100644
--- a/drivers/leds/leds-pca9633.c
+++ b/drivers/leds/leds-pca9633.c
@@ -96,11 +96,9 @@ static int __devinit pca9633_probe(struct i2c_client *client,
96 const struct i2c_device_id *id) 96 const struct i2c_device_id *id)
97{ 97{
98 struct pca9633_led *pca9633; 98 struct pca9633_led *pca9633;
99 struct i2c_adapter *adapter;
100 struct led_platform_data *pdata; 99 struct led_platform_data *pdata;
101 int i, err; 100 int i, err;
102 101
103 adapter = to_i2c_adapter(client->dev.parent);
104 pdata = client->dev.platform_data; 102 pdata = client->dev.platform_data;
105 103
106 if (pdata) { 104 if (pdata) {