projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
extcon: Remove the optional name of extcon device
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
extcon
/
extcon-gpio.c
diff --git
a/drivers/extcon/extcon-gpio.c
b/drivers/extcon/extcon-gpio.c
index 7af33fc433cd07618ddd647c071402132f5f3c22..355459a54e8b4fabe8c496fedeae7cef7d66add6 100644
(file)
--- a/
drivers/extcon/extcon-gpio.c
+++ b/
drivers/extcon/extcon-gpio.c
@@
-104,7
+104,6
@@
static int gpio_extcon_probe(struct platform_device *pdev)
dev_err(&pdev->dev, "failed to allocate extcon device\n");
return -ENOMEM;
}
- extcon_data->edev->name = pdata->name;
extcon_data->gpio = pdata->gpio;
extcon_data->gpio_active_low = pdata->gpio_active_low;