rtc: jz4740: remove duplicate 'write' in message
Subsystems (2)
PATCH 1/1 rtc: jz4740: remove duplicate 'write' in message
Trivial fix in error message with duplicate 'write'
Signed-off-by Mathieu Malaterre <[email protected]>
--- drivers/rtc/rtc-jz4740.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/rtc/rtc-jz4740.c +1 -1
@@ -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
Alexandre Belloni
AppliedQuoted 7 lines · Mathieu Malaterre
Trivial fix in error message with duplicate 'write'
Signed-off-by Mathieu Malaterre <[email protected]>--- 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