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

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]>
This commit is contained in:
Axel Lin 2012-03-23 15:02:13 -07:00 • committed by Linus Torvalds
commit 1a1278da5c

View file

@ -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) {