Re: [PATCH][rtc-next] rtc: fsl: fix spelling mistake: "memery" -> "memory"

From: Alexandre Belloni
Date: Fri Aug 23 2019 - 10:25:43 EST


On 23/08/2019 11:18:23+0100, Colin King wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> There is a spelling mistake in a dev_err error message. Fix it.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> ---
> drivers/rtc/rtc-fsl-ftm-alarm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

I squashed that in the original patch, thanks!

> diff --git a/drivers/rtc/rtc-fsl-ftm-alarm.c b/drivers/rtc/rtc-fsl-ftm-alarm.c
> index 4f7259c2d6a3..4bb98310cc3f 100644
> --- a/drivers/rtc/rtc-fsl-ftm-alarm.c
> +++ b/drivers/rtc/rtc-fsl-ftm-alarm.c
> @@ -255,7 +255,7 @@ static int ftm_rtc_probe(struct platform_device *pdev)
>
> rtc = devm_kzalloc(&pdev->dev, sizeof(*rtc), GFP_KERNEL);
> if (unlikely(!rtc)) {
> - dev_err(&pdev->dev, "cannot alloc memery for rtc\n");
> + dev_err(&pdev->dev, "cannot alloc memory for rtc\n");
> return -ENOMEM;
> }
>
> --
> 2.20.1
>

--
Alexandre Belloni, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com