提交 49de9828 编写于 作者: M Mathieu Malaterre 提交者: Alexandre Belloni

rtc: jz4740: remove duplicate 'write' in message

Trivial fix in error message with duplicate 'write'
Signed-off-by: NMathieu Malaterre <malat@debian.org>
Signed-off-by: NAlexandre Belloni <alexandre.belloni@free-electrons.com>
上级 584ce30c
...@@ -368,7 +368,7 @@ static int jz4740_rtc_probe(struct platform_device *pdev) ...@@ -368,7 +368,7 @@ static int jz4740_rtc_probe(struct platform_device *pdev)
ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SCRATCHPAD, 0x12345678); ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SCRATCHPAD, 0x12345678);
ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, 0); ret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, 0);
if (ret) { if (ret) {
dev_err(&pdev->dev, "Could not write write to RTC registers\n"); dev_err(&pdev->dev, "Could not write to RTC registers\n");
return ret; return ret;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册