summaryrefslogtreecommitdiffstats
path: root/drivers/extcon/extcon-max14577.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/extcon/extcon-max14577.c')
-rw-r--r--drivers/extcon/extcon-max14577.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-max14577.c b/drivers/extcon/extcon-max14577.c
index 6d5febe91a39..ad8f8ddc8e51 100644
--- a/drivers/extcon/extcon-max14577.c
+++ b/drivers/extcon/extcon-max14577.c
@@ -729,8 +729,6 @@ static int max14577_muic_probe(struct platform_device *pdev)
729 return -ENOMEM; 729 return -ENOMEM;
730 } 730 }
731 731
732 info->edev->name = dev_name(&pdev->dev);
733
734 ret = devm_extcon_dev_register(&pdev->dev, info->edev); 732 ret = devm_extcon_dev_register(&pdev->dev, info->edev);
735 if (ret) { 733 if (ret) {
736 dev_err(&pdev->dev, "failed to register extcon device\n"); 734 dev_err(&pdev->dev, "failed to register extcon device\n");