Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5841794ybi; Wed, 31 Jul 2019 04:14:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqzNc9JV5lWWxglp6TZYfGitNd5hlXRn921wFcQHVCJVF9t/0BieRq/s319KZYsRQmURfIq0 X-Received: by 2002:a17:902:8689:: with SMTP id g9mr111847208plo.252.1564571645802; Wed, 31 Jul 2019 04:14:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564571645; cv=none; d=google.com; s=arc-20160816; b=TVXSQ7KAtoTlyntoEbrvRXPVjSBnkFaI9Rsjf8IprldiK15/r/RcfshL7DKLYPt6u2 yrg0Nx8wWf324ohByKgUuOCdphf2PibpgxrE/VoiLYb/lBws5J5Zmg7usH/nBloaz9Py wUYkS5ePbOMHCGJRsbce/LuTCSVvIofF9k2lGbqKWRQmDDH311qxJmiNFzcEXpIk+NMQ O7ZSHPzcYx85JICe+WwVxYILmRSPIWCjEVOUF9I5xOnaKxOHYL+l+NiIf5fD0hnwq05X ZjknW5si2UiuY4iKfhkS7LHxdkSvcXvB9goSvZC0A4LS7xrzudsBE4wroxcHSyoK+ulx zqcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+1oHf1+ErP2HL7hVOGccTTUzsvFfZGUFo4kLW3/NF74=; b=co31Vx6SSEC2n90Yq8VgiRgNjmYMOsd7PaZr6fhk1xSTkV0b30A8U4nIV08jL+K/cP dasBgXYgI+0vGeKmjXwQ/YFu9mOsRO4Pf+NRoUjRmrOHfqU1gJyJzsifAT1s2Qfj9Pv9 nLgBr36eEMd0922wJF/AAHR+9Dpx/S9eq5roRvmgpla27SxiQn2PNQEWZueisVY4+3Qm px7+I1b+R9bXFwctLh9gYBzCt9L7tgEv/OYnHPFjcfQTXWwYma1I0APB++ZJK0zv/fib X+pCYd4Rf+opVPV3VCRgW2ZNfddMXtmdtaj2j7aEqNNqKt389z3VlnQUl0VR2D9e8Fu8 fLdQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="V4wjj7k/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l64si1262504pjb.93.2019.07.31.04.13.50; Wed, 31 Jul 2019 04:14:05 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b="V4wjj7k/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726621AbfGaKFQ (ORCPT + 99 others); Wed, 31 Jul 2019 06:05:16 -0400 Received: from mail-ot1-f65.google.com ([209.85.210.65]:36404 "EHLO mail-ot1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726248AbfGaKFQ (ORCPT ); Wed, 31 Jul 2019 06:05:16 -0400 Received: by mail-ot1-f65.google.com with SMTP id r6so69586343oti.3 for ; Wed, 31 Jul 2019 03:05:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=+1oHf1+ErP2HL7hVOGccTTUzsvFfZGUFo4kLW3/NF74=; b=V4wjj7k//NOYAnpNAy96d0VR3zxB/qYbLmdYJlrlx0nf+bmL39DVNQc/aRXm7+14Id PRhm47KopeSw/zRX9YujsBjwurOMNyRArBrMcO+4PVWv9/YoJEewX7M3rp6sBlkT5poE Lw7+yeT4e2/pjmdK4Rp+CK7UaMbXrRIPKlX/0lLBU3osLmjUg6j2dUhXAp3+FHUnib8n VLrjR/DC1z5Nx4pcVMj3mDFFdkRItDwZSDrRw39UzVjSc6p9hhMhztFlQvQ/WdfGgpl0 LsRicLctxiARRIw8wpN9xzzeS2+TT5nIbWW0twE2svcmdPwDEmgbFlYvm0RT6HYPOfAW K5mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=+1oHf1+ErP2HL7hVOGccTTUzsvFfZGUFo4kLW3/NF74=; b=dqtlXRAmTGfO/ai3RuuN6ruJc/rJHcHgFzG43xnkV0g+/u0nBNG8ILxiC0oAZYdU/O ZOLmEro9MkHNF3lClS5YAET3eV0SjRslWhrm0wLKAFnyPwtBKf8Sz4QUP181p8GrjWX7 O4H3/WFz9PPz/l8b23gzC3XXK0qnzBCL908NjDac/fou8+30dUYMuvlMC2MBqIjIOSbZ k0xbqUjBe2Gigm1p1VECFbbUH/OsTJTcgnxZVqCzODL3vADJcLRFd3xkFUqg3hNpsFzs LzEngFlo+BRvKkwa1mQ8Q7H5OPpUe3VIAx3CfbtQ0ViNtPQTWWeqEepMNY3FeEdf3EJH HdTg== X-Gm-Message-State: APjAAAWdmzv6oPVWmJ1hWLCVZPk1gWh2yKe38D/gs2qw+/54x/fhsL+R OIyx/dHLNbgxqQz2GuYcBrgBYMwWOl32QbZq3dIlKA== X-Received: by 2002:a9d:7352:: with SMTP id l18mr27744113otk.292.1564567515226; Wed, 31 Jul 2019 03:05:15 -0700 (PDT) MIME-Version: 1.0 References: <1564566474-18294-1-git-send-email-dingxiang@cmss.chinamobile.com> In-Reply-To: <1564566474-18294-1-git-send-email-dingxiang@cmss.chinamobile.com> From: Bartosz Golaszewski Date: Wed, 31 Jul 2019 12:05:04 +0200 Message-ID: Subject: Re: [PATCH] gpio: ixp4xx: remove redundant dev_err message To: Ding Xiang Cc: Linus Walleij , linux-gpio , LKML Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org =C5=9Br., 31 lip 2019 o 11:48 Ding Xiang n= apisa=C5=82(a): > > devm_ioremap_resource already contains error message, so remove > the redundant dev_err message > > Signed-off-by: Ding Xiang > --- > drivers/gpio/gpio-ixp4xx.c | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/drivers/gpio/gpio-ixp4xx.c b/drivers/gpio/gpio-ixp4xx.c > index 670c2a8..2b2b89b 100644 > --- a/drivers/gpio/gpio-ixp4xx.c > +++ b/drivers/gpio/gpio-ixp4xx.c > @@ -321,10 +321,8 @@ static int ixp4xx_gpio_probe(struct platform_device = *pdev) > > res =3D platform_get_resource(pdev, IORESOURCE_MEM, 0); > g->base =3D devm_ioremap_resource(dev, res); > - if (IS_ERR(g->base)) { > - dev_err(dev, "ioremap error\n"); > + if (IS_ERR(g->base)) > return PTR_ERR(g->base); > - } > > /* > * Make sure GPIO 14 and 15 are NOT used as clocks but GPIO on > -- > 1.9.1 > > > Patch applied, thanks! Bart