{"id":812177,"url":"http://patchwork.ozlabs.org/api/patches/812177/?format=json","web_url":"http://patchwork.ozlabs.org/project/rtc-linux/patch/20170910193957.25037-1-malat@debian.org/","project":{"id":9,"url":"http://patchwork.ozlabs.org/api/projects/9/?format=json","name":"Linux RTC development","link_name":"rtc-linux","list_id":"linux-rtc.vger.kernel.org","list_email":"linux-rtc@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170910193957.25037-1-malat@debian.org>","list_archive_url":null,"date":"2017-09-10T19:39:57","name":"rtc: jz4740: remove duplicate 'write' in message","commit_ref":null,"pull_url":null,"state":"accepted","archived":false,"hash":"2cc8b4545a2a2cc5d547be0f01af2f3dae396e11","submitter":{"id":70030,"url":"http://patchwork.ozlabs.org/api/people/70030/?format=json","name":"Mathieu Malaterre","email":"malat@debian.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/rtc-linux/patch/20170910193957.25037-1-malat@debian.org/mbox/","series":[{"id":2415,"url":"http://patchwork.ozlabs.org/api/series/2415/?format=json","web_url":"http://patchwork.ozlabs.org/project/rtc-linux/list/?series=2415","date":"2017-09-10T19:39:57","name":"rtc: jz4740: remove duplicate 'write' in message","version":1,"mbox":"http://patchwork.ozlabs.org/series/2415/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/812177/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/812177/checks/","tags":{},"related":[],"headers":{"Return-Path":"<linux-rtc-owner@vger.kernel.org>","X-Original-To":"incoming@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=linux-rtc-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xr1c542f7z9sBd\n\tfor <incoming@patchwork.ozlabs.org>;\n\tMon, 11 Sep 2017 05:40:05 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751264AbdIJTkE (ORCPT <rfc822;incoming@patchwork.ozlabs.org>);\n\tSun, 10 Sep 2017 15:40:04 -0400","from smtp3-g21.free.fr ([212.27.42.3]:49994 \"EHLO\n\tsmtp3-g21.free.fr\"\n\trhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP\n\tid S1750943AbdIJTkE (ORCPT <rfc822;linux-rtc@vger.kernel.org>);\n\tSun, 10 Sep 2017 15:40:04 -0400","from macbookpro.malat.net (unknown [78.225.226.121])\n\tby smtp3-g21.free.fr (Postfix) with ESMTP id 08C8E13F880;\n\tSun, 10 Sep 2017 21:40:01 +0200 (CEST)","by macbookpro.malat.net (Postfix, from userid 1000)\n\tid 4C20E10C19D9; Sun, 10 Sep 2017 21:40:01 +0200 (CEST)"],"From":"Mathieu Malaterre <malat@debian.org>","Cc":"Mathieu Malaterre <malat@debian.org>,\n\tAlessandro Zummo <a.zummo@towertech.it>,\n\tAlexandre Belloni <alexandre.belloni@free-electrons.com>,\n\tlinux-rtc@vger.kernel.org, linux-kernel@vger.kernel.org","Subject":"[PATCH] rtc: jz4740: remove duplicate 'write' in message","Date":"Sun, 10 Sep 2017 21:39:57 +0200","Message-Id":"<20170910193957.25037-1-malat@debian.org>","X-Mailer":"git-send-email 2.11.0","To":"unlisted-recipients:; (no To-header on input)","Sender":"linux-rtc-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<linux-rtc.vger.kernel.org>","X-Mailing-List":"linux-rtc@vger.kernel.org"},"content":"Trivial fix in error message with duplicate 'write'\n\nSigned-off-by: Mathieu Malaterre <malat@debian.org>\n---\n drivers/rtc/rtc-jz4740.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/drivers/rtc/rtc-jz4740.c b/drivers/rtc/rtc-jz4740.c\nindex 36981263caa0..89e05306154e 100644\n--- a/drivers/rtc/rtc-jz4740.c\n+++ b/drivers/rtc/rtc-jz4740.c\n@@ -369,7 +369,7 @@ static int jz4740_rtc_probe(struct platform_device *pdev)\n \t\tret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SCRATCHPAD, 0x12345678);\n \t\tret = jz4740_rtc_reg_write(rtc, JZ_REG_RTC_SEC, 0);\n \t\tif (ret) {\n-\t\t\tdev_err(&pdev->dev, \"Could not write write to RTC registers\\n\");\n+\t\t\tdev_err(&pdev->dev, \"Could not write to RTC registers\\n\");\n \t\t\treturn ret;\n \t\t}\n \t}\n","prefixes":[]}