From: Colin Ian King <colin.k...@canonical.com>

There is a spelling mistake in a dev_err error message. Fix it.

Signed-off-by: Colin Ian King <colin.k...@canonical.com>
---
 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

Reply via email to