Skip to content

Commit

Permalink
drivers/leds/leds-pca9633.c: remove unused 'adapter' variable
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <[email protected]>
Cc: Peter Meerwald <[email protected]>
Cc: Richard Purdie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AxelLin authored and torvalds committed Mar 23, 2012
1 parent 99ad98d commit 1a1278d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/leds/leds-pca9633.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,9 @@ static int __devinit pca9633_probe(struct i2c_client *client,
const struct i2c_device_id *id)
{
struct pca9633_led *pca9633;
struct i2c_adapter *adapter;
struct led_platform_data *pdata;
int i, err;

adapter = to_i2c_adapter(client->dev.parent);
pdata = client->dev.platform_data;

if (pdata) {
Expand Down

0 comments on commit 1a1278d

Please sign in to comment.