From patchwork Tue May 10 23:45:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 1430 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:51:57 -0000 Delivered-To: patches@linaro.org Received: by 10.224.61.3 with SMTP id r3cs38890qah; Tue, 10 May 2011 16:45:11 -0700 (PDT) Received: by 10.42.126.71 with SMTP id d7mr2317727ics.331.1305071111488; Tue, 10 May 2011 16:45:11 -0700 (PDT) Received: from mail-iw0-f178.google.com (mail-iw0-f178.google.com [209.85.214.178]) by mx.google.com with ESMTPS id uf9si21249510icb.85.2011.05.10.16.45.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 May 2011 16:45:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linus.ml.walleij@gmail.com designates 209.85.214.178 as permitted sender) client-ip=209.85.214.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linus.ml.walleij@gmail.com designates 209.85.214.178 as permitted sender) smtp.mail=linus.ml.walleij@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by mail-iw0-f178.google.com with SMTP id 9so7264941iwn.37 for ; Tue, 10 May 2011 16:45:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=1CZH/argW2d91HV+wQDuDFzVIIIPtcGDSFK2ZzYwG2o=; b=oyyn84Z0ej7zhUtr/HvrkOTkzxWWkC8cEKm+zHKi521AVtiUqUDMjc0Fm45aCZdtET 7s12+ok0dIsBloVzyJgRrVFcgrG1g3isfTf3PPS0k5SrDo67HwWwc995BB0NdsyicuBD IuRh/M5RiLGzjNvjwtTAjL7EZw5bgzJxo803M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=JbxTncBSlCYiFHxdiS3p/ZknBgJ/Qi7nrXELYAu5jYA8SZv7gAGFy63BMy5ONMtqAV lRzIpUPmZezOv4Gz4hgMGdm5oGJabPAkso2lt1+8Tb4xE1gXcLdinHAhx+tJMgzJvTx5 lmGQpiQuRlDKlp3dszrCn91eDEk/rEyCkOA/s= MIME-Version: 1.0 Received: by 10.231.30.136 with SMTP id u8mr6341134ibc.1.1305071111140; Tue, 10 May 2011 16:45:11 -0700 (PDT) Received: by 10.231.20.3 with HTTP; Tue, 10 May 2011 16:45:11 -0700 (PDT) In-Reply-To: <1304976997-31547-1-git-send-email-linus.walleij@linaro.org> References: <1304976997-31547-1-git-send-email-linus.walleij@linaro.org> Date: Wed, 11 May 2011 01:45:11 +0200 Message-ID: Subject: Fwd: [PATCH 05/13] i2c/i2c-nomadik: remove the redundant error message From: Linus Walleij To: patches@linaro.org ---------- Forwarded message ---------- From: Linus Walleij Date: 2011/5/9 Subject: [PATCH 05/13] i2c/i2c-nomadik: remove the redundant error message To: Ben Dooks , linux-i2c@vger.kernel.org Kopia: srinidhi kasagar , Linus Walleij From: srinidhi kasagar The abort cause string itself is an error, so remove the redundant explicit error message. Signed-off-by: Srinidhi Kasagar Reviewed-by: Jonas Aberg Signed-off-by: Linus Walleij ---  drivers/i2c/busses/i2c-nomadik.c |    2 --  1 files changed, 0 insertions(+), 2 deletions(-) -- 1.7.5.1 -- To unsubscribe from this list: send the line "unsubscribe linux-i2c" in the body of a message to majordomo@vger.kernel.org More majordomo info at  http://vger.kernel.org/majordomo-info.html diff --git a/drivers/i2c/busses/i2c-nomadik.c b/drivers/i2c/busses/i2c-nomadik.c index a02141a..dbd93b2 100644 --- a/drivers/i2c/busses/i2c-nomadik.c +++ b/drivers/i2c/busses/i2c-nomadik.c @@ -609,8 +609,6 @@ static int nmk_i2c_xfer(struct i2c_adapter *i2c_adap,                if (status || (dev->result)) {                        /* get the abort cause */                        cause = (readl(dev->virtbase + I2C_SR) >> 4) & 0x7; -                       dev_err(&dev->pdev->dev, "error during I2C" -                                       "message xfer: %d\n", cause);                        dev_err(&dev->pdev->dev, "%s\n",                                cause >= ARRAY_SIZE(abort_causes)                                ? "unknown reason" : abort_causes[cause]);