diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index 59aa51309467..ba51588cc000 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -1120,7 +1120,7 @@ static int arizona_extcon_probe(struct platform_device *pdev) | |||
1120 | if (!info) | 1120 | if (!info) |
1121 | return -ENOMEM; | 1121 | return -ENOMEM; |
1122 | 1122 | ||
1123 | info->micvdd = devm_regulator_get(arizona->dev, "MICVDD"); | 1123 | info->micvdd = devm_regulator_get(&pdev->dev, "MICVDD"); |
1124 | if (IS_ERR(info->micvdd)) { | 1124 | if (IS_ERR(info->micvdd)) { |
1125 | ret = PTR_ERR(info->micvdd); | 1125 | ret = PTR_ERR(info->micvdd); |
1126 | dev_err(arizona->dev, "Failed to get MICVDD: %d\n", ret); | 1126 | dev_err(arizona->dev, "Failed to get MICVDD: %d\n", ret); |