extcon: fix typos in extcon-arizona
authorPeter Meerwald <pmeerw@pmeerw.net>
Thu, 23 Aug 2012 00:11:50 +0000 (09:11 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2012 19:18:11 +0000 (12:18 -0700)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/extcon/extcon-arizona.c

index 13eafcbbd3f8932b18172eff21ea034ac8156962..dc81d5fea75eabe58656b38f4beab1d0853b3ccb 100644 (file)
@@ -348,7 +348,7 @@ static int __devinit arizona_extcon_probe(struct platform_device *pdev)
 
        info = devm_kzalloc(&pdev->dev, sizeof(*info), GFP_KERNEL);
        if (!info) {
-               dev_err(&pdev->dev, "failed to allocate memory\n");
+               dev_err(&pdev->dev, "Failed to allocate memory\n");
                ret = -ENOMEM;
                goto err;
        }
@@ -385,7 +385,7 @@ static int __devinit arizona_extcon_probe(struct platform_device *pdev)
 
        ret = extcon_dev_register(&info->edev, arizona->dev);
        if (ret < 0) {
-               dev_err(arizona->dev, "extcon_dev_regster() failed: %d\n",
+               dev_err(arizona->dev, "extcon_dev_register() failed: %d\n",
                        ret);
                goto err;
        }