From patchwork Tue Nov 20 09:13:04 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Meerwald-Stadler X-Patchwork-Id: 200265 X-Patchwork-Delegate: agust@denx.de Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id 81EBA2C008E for ; Tue, 20 Nov 2012 20:14:27 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 004274A040; Tue, 20 Nov 2012 10:14:25 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rl7uv-O6XAVF; Tue, 20 Nov 2012 10:14:25 +0100 (CET) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 0A3DF4A041; Tue, 20 Nov 2012 10:14:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 4F0324A041 for ; Tue, 20 Nov 2012 10:14:22 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6t9PoWSh8+1D for ; Tue, 20 Nov 2012 10:14:20 +0100 (CET) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from pmeerw.net (ns.pmeerw.net [87.118.82.44]) by theia.denx.de (Postfix) with ESMTPS id 8641C4A040 for ; Tue, 20 Nov 2012 10:14:17 +0100 (CET) Received: from localhost.localdomain (unknown [195.70.114.118]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pmeerw) by pmeerw.net (Postfix) with ESMTPSA id 9128DC50123; Tue, 20 Nov 2012 10:14:14 +0100 (CET) From: Peter Meerwald To: u-boot@lists.denx.de Date: Tue, 20 Nov 2012 10:13:04 +0100 Message-Id: <1353402784-5149-1-git-send-email-pmeerw@pmeerw.net> X-Mailer: git-send-email 1.7.9.5 Cc: trini@ti.com, Peter Meerwald Subject: [U-Boot] [PATCH] twl4030: fix 'could could' in error messages X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.11 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de From: Peter Meerwald Signed-off-by: Peter Meerwald --- drivers/power/twl4030.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/power/twl4030.c b/drivers/power/twl4030.c index 36b2144..e7d5f13 100644 --- a/drivers/power/twl4030.c +++ b/drivers/power/twl4030.c @@ -71,7 +71,7 @@ void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val, ret = twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, vsel_val, vsel_reg); if (ret != 0) { - printf("Could could not write vsel to reg %02x (%d)\n", + printf("Could not write vsel to reg %02x (%d)\n", vsel_reg, ret); return; } @@ -80,7 +80,7 @@ void twl4030_pmrecv_vsel_cfg(u8 vsel_reg, u8 vsel_val, ret = twl4030_i2c_write_u8(TWL4030_CHIP_PM_RECEIVER, dev_grp_sel, dev_grp); if (ret != 0) - printf("Could could not write grp_sel to reg %02x (%d)\n", + printf("Could not write grp_sel to reg %02x (%d)\n", dev_grp, ret); }