Patchwork [4/9] drivers/rtc: typo fix of faild to failed

login
register
mail settings
Submitter Joe Perches
Date Oct. 22, 2010, 5:17 a.m.
Message ID <4279ee540bfed9c40ba26698bfe7abddb8921ee4.1287724261.git.joe@perches.com>
Download mbox | patch
Permalink /patch/68800/
State New
Headers show

Comments

Joe Perches - Oct. 22, 2010, 5:17 a.m.
Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/rtc/rtc-nuc900.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Wan ZongShun - Oct. 22, 2010, 5:21 a.m.
Hi, Joe,

Thanks for your help.

2010/10/22 Joe Perches <joe@perches.com>:
> Signed-off-by: Joe Perches <joe@perches.com>
> ---
>  drivers/rtc/rtc-nuc900.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/rtc/rtc-nuc900.c b/drivers/rtc/rtc-nuc900.c
> index 62de66a..ddb0857 100644
> --- a/drivers/rtc/rtc-nuc900.c
> +++ b/drivers/rtc/rtc-nuc900.c
> @@ -274,7 +274,7 @@ static int __devinit nuc900_rtc_probe(struct platform_device *pdev)
>        nuc900_rtc->rtcdev = rtc_device_register(pdev->name, &pdev->dev,
>                                                &nuc900_rtc_ops, THIS_MODULE);
>        if (IS_ERR(nuc900_rtc->rtcdev)) {
> -               dev_err(&pdev->dev, "rtc device register faild\n");
> +               dev_err(&pdev->dev, "rtc device register failed\n");

Acked-by: Wan ZongShun <mcuos.com@gmail.com>

>                err = PTR_ERR(nuc900_rtc->rtcdev);
>                goto fail3;
>        }
> --
> 1.7.3.1.g432b3.dirty
>
>

Patch

diff --git a/drivers/rtc/rtc-nuc900.c b/drivers/rtc/rtc-nuc900.c
index 62de66a..ddb0857 100644
--- a/drivers/rtc/rtc-nuc900.c
+++ b/drivers/rtc/rtc-nuc900.c
@@ -274,7 +274,7 @@  static int __devinit nuc900_rtc_probe(struct platform_device *pdev)
 	nuc900_rtc->rtcdev = rtc_device_register(pdev->name, &pdev->dev,
 						&nuc900_rtc_ops, THIS_MODULE);
 	if (IS_ERR(nuc900_rtc->rtcdev)) {
-		dev_err(&pdev->dev, "rtc device register faild\n");
+		dev_err(&pdev->dev, "rtc device register failed\n");
 		err = PTR_ERR(nuc900_rtc->rtcdev);
 		goto fail3;
 	}