Commit 1a1278da authored by Axel Lin's avatar Axel Lin Committed by Linus Torvalds

drivers/leds/leds-pca9633.c: remove unused 'adapter' variable

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Cc: Peter Meerwald <p.meerwald@bct-electronic.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 99ad98d2
...@@ -96,11 +96,9 @@ static int __devinit pca9633_probe(struct i2c_client *client, ...@@ -96,11 +96,9 @@ static int __devinit pca9633_probe(struct i2c_client *client,
const struct i2c_device_id *id) const struct i2c_device_id *id)
{ {
struct pca9633_led *pca9633; struct pca9633_led *pca9633;
struct i2c_adapter *adapter;
struct led_platform_data *pdata; struct led_platform_data *pdata;
int i, err; int i, err;
adapter = to_i2c_adapter(client->dev.parent);
pdata = client->dev.platform_data; pdata = client->dev.platform_data;
if (pdata) { if (pdata) {
......
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