Commit 8e5f5018 authored by Peter Meerwald's avatar Peter Meerwald Committed by Greg Kroah-Hartman

extcon: fix typos in extcon-arizona

Signed-off-by: default avatarPeter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent afcfaa87
...@@ -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;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment