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

From: Colin King
Date: Fri Aug 23 2019 - 06:18:30 EST


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(-)

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