Linux RTC
 help / color / mirror / Atom feed
* [PATCH] rtc: jz4740: remove duplicate 'write' in message
@ 2017-09-10 19:39 Mathieu Malaterre
  2017-10-12 12:25 ` Alexandre Belloni
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Malaterre @ 2017-09-10 19:39 UTC (permalink / raw)
  Cc: Mathieu Malaterre, Alessandro Zummo, Alexandre Belloni, linux-rtc,
	linux-kernel

Trivial fix in error message with duplicate 'write'

Signed-off-by: Mathieu Malaterre <malat@debian.org>
---
 drivers/rtc/rtc-jz4740.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c
index 36981263caa0..89e05306154e 100644
--- a/drivers/rtc/rtc-jz4740.c
+++ b/drivers/rtc/rtc-jz4740.c
@@ -369,7 +369,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;
 		}
 	}
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-12 12:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-10 19:39 [PATCH] rtc: jz4740: remove duplicate 'write' in message Mathieu Malaterre
2017-10-12 12:25 ` Alexandre Belloni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox