summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorMathieu Malaterre <malat@debian.org>2017-09-10 21:39:57 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-10-12 14:16:11 +0200
commit49de9828810cb4ccf85ac213d4fd15f1a30fb4f6 (patch)
tree0816a8fd0412acccdebd55237f9b293a2abfdef9 /drivers
parent584ce30c72954e5ec67aaf317d7cbffe6c2c97fa (diff)
rtc: jz4740: remove duplicate 'write' in message
Trivial fix in error message with duplicate 'write' Signed-off-by: Mathieu Malaterre <malat@debian.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/rtc/rtc-jz4740.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c
index 64989afffa3d..c9536fb0ba4a 100644
--- a/drivers/rtc/rtc-jz4740.c
+++ b/drivers/rtc/rtc-jz4740.c
@@ -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_SEC, 0);
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;
}
}