[PATCH 3/4] extcon: fix typos in extcon-arizona

2012-08-22 Thread Chanwoo Choi
From: Peter Meerwald 

Signed-off-by: Peter Meerwald 
Signed-off-by: Chanwoo Choi 
---
 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 fa2114f..55fbc2f 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)
 
info = devm_kzalloc(>dev, sizeof(*info), GFP_KERNEL);
if (!info) {
-   dev_err(>dev, "failed to allocate memory\n");
+   dev_err(>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(>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;
}
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH 3/4] extcon: fix typos in extcon-arizona

2012-08-22 Thread Chanwoo Choi
From: Peter Meerwald pme...@pmeerw.net

Signed-off-by: Peter Meerwald pme...@pmeerw.net
Signed-off-by: Chanwoo Choi cw00.c...@samsung.com
---
 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 fa2114f..55fbc2f 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)
 
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;
}
-- 
1.7.0.4

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/