Skip to content
Snippets Groups Projects
Commit 8e5f5018 authored by Peter Meerwald's avatar Peter Meerwald Committed by Greg Kroah-Hartman
Browse files

extcon: fix typos in extcon-arizona

parent afcfaa87
No related merge requests found
...@@ -348,7 +348,7 @@ static int __devinit arizona_extcon_probe(struct platform_device *pdev) ...@@ -348,7 +348,7 @@ static int __devinit arizona_extcon_probe(struct platform_device *pdev)
info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL); info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
if (!info) { if (!info) {
dev_err(&pdev->dev, "failed to allocate memory\n"); dev_err(&pdev->dev, "Failed to allocate memory\n");
ret = -ENOMEM; ret = -ENOMEM;
goto err; goto err;
} }
...@@ -385,7 +385,7 @@ static int __devinit arizona_extcon_probe(struct platform_device *pdev) ...@@ -385,7 +385,7 @@ static int __devinit arizona_extcon_probe(struct platform_device *pdev)
ret = extcon_dev_register(&info->edev, arizona->dev); ret = extcon_dev_register(&info->edev, arizona->dev);
if (ret < 0) { if (ret < 0) {
dev_err(arizona->dev, "extcon_dev_regster() failed: %d\n", dev_err(arizona->dev, "extcon_dev_register() failed: %d\n",
ret); ret);
goto err; goto err;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment