diff options
Diffstat (limited to 'drivers/extcon/extcon-gpio.c')
-rw-r--r-- | drivers/extcon/extcon-gpio.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-gpio.c b/drivers/extcon/extcon-gpio.c index 645b28356819..5b7ec274cb63 100644 --- a/drivers/extcon/extcon-gpio.c +++ b/drivers/extcon/extcon-gpio.c | |||
@@ -105,7 +105,6 @@ static int gpio_extcon_probe(struct platform_device *pdev) | |||
105 | return -ENOMEM; | 105 | return -ENOMEM; |
106 | } | 106 | } |
107 | extcon_data->edev->name = pdata->name; | 107 | extcon_data->edev->name = pdata->name; |
108 | extcon_data->edev->dev.parent = &pdev->dev; | ||
109 | 108 | ||
110 | extcon_data->gpio = pdata->gpio; | 109 | extcon_data->gpio = pdata->gpio; |
111 | extcon_data->gpio_active_low = pdata->gpio_active_low; | 110 | extcon_data->gpio_active_low = pdata->gpio_active_low; |