diff options
author | Mathieu Malaterre <malat@debian.org> | 2017-09-10 22:39:57 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@free-electrons.com> | 2017-10-12 15:16:11 +0300 |
commit | 49de9828810cb4ccf85ac213d4fd15f1a30fb4f6 (patch) | |
tree | 0816a8fd0412acccdebd55237f9b293a2abfdef9 /drivers/rtc/rtc-jz4740.c | |
parent | 584ce30c72954e5ec67aaf317d7cbffe6c2c97fa (diff) | |
download | linux-49de9828810cb4ccf85ac213d4fd15f1a30fb4f6.tar.xz |
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/rtc/rtc-jz4740.c')
-rw-r--r-- | drivers/rtc/rtc-jz4740.c | 2 |
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; } } |