Skip to contentSkip to conversation

rtc: jz4740: remove duplicate 'write' in message

PATCH Applied Mathieu Malaterre 2 participants 2 messages Sep 10, 2017 – Oct 12, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 rtc: jz4740: remove duplicate 'write' in message

Trivial fix in error message with duplicate 'write'

---
 drivers/rtc/rtc-jz4740.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-jz4740.c +1 -1
index 36981263caa0..89e05306154e 100644
@@ -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;
 		}
 	}
Signature · 1 line
2.11.0
#1 lore raw
Quoted 7 lines · Mathieu Malaterre

Trivial fix in error message with duplicate 'write'

---
 drivers/rtc/rtc-jz4740.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Signature · 3 lines
Alexandre Belloni, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com