summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 80cb61adc2d..d8926fd031a 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,
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) {