[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170910193957.25037-1-malat@debian.org>
Date: Sun, 10 Sep 2017 21:39:57 +0200
From: Mathieu Malaterre <malat@...ian.org>
To: unlisted-recipients:; (no To-header on input)
Cc: Mathieu Malaterre <malat@...ian.org>,
Alessandro Zummo <a.zummo@...ertech.it>,
Alexandre Belloni <alexandre.belloni@...e-electrons.com>,
linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] rtc: jz4740: remove duplicate 'write' in message
Trivial fix in error message with duplicate 'write'
Signed-off-by: Mathieu Malaterre <malat@...ian.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
Powered by blists - more mailing lists