diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2012-08-22 20:11:50 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-05 15:18:11 -0400 |
commit | 8e5f5018e80f14119ae54f68cdf1deae43ff9c86 (patch) | |
tree | 7f0e6fa515c27ecb5229f73a601e2c6f3d12eb89 /drivers/extcon | |
parent | afcfaa878d1467d8cd03076b7b044e8b3e15d9a1 (diff) |
extcon: fix typos in extcon-arizona
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>
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 | } |