diff options
Diffstat (limited to 'drivers/extcon')
-rw-r--r-- | drivers/extcon/extcon-arizona.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/extcon/extcon-arizona.c b/drivers/extcon/extcon-arizona.c index 13eafcbbd3f8..dc81d5fea75e 100644 --- a/drivers/extcon/extcon-arizona.c +++ b/drivers/extcon/extcon-arizona.c | |||
@@ -348,7 +348,7 @@ static int __devinit arizona_extcon_probe(struct platform_device *pdev) | |||
348 | 348 | ||
349 | info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); | 349 | info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); |
350 | if (!info) { | 350 | if (!info) { |
351 | dev_err(&pdev->dev, "failed to allocate memory\n"); | 351 | dev_err(&pdev->dev, "Failed to allocate memory\n"); |
352 | ret = -ENOMEM; | 352 | ret = -ENOMEM; |
353 | goto err; | 353 | goto err; |
354 | } | 354 | } |
@@ -385,7 +385,7 @@ static int __devinit arizona_extcon_probe(struct platform_device *pdev) | |||
385 | 385 | ||
386 | ret = extcon_dev_register(&info->edev, arizona->dev); | 386 | ret = extcon_dev_register(&info->edev, arizona->dev); |
387 | if (ret < 0) { | 387 | if (ret < 0) { |
388 | dev_err(arizona->dev, "extcon_dev_regster() failed: %d\n", | 388 | dev_err(arizona->dev, "extcon_dev_register() failed: %d\n", |
389 | ret); | 389 | ret); |
390 | goto err; | 390 | goto err; |
391 | } | 391 | } |