Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp927429ybe; Wed, 11 Sep 2019 06:55:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqxgRR0k0l2odUEsWPPlqNj0opuZe/H0v8eD6IT2oKtukanR/bzb+usycM5cawPVxdBnO5m0 X-Received: by 2002:a17:906:7f91:: with SMTP id f17mr29338872ejr.125.1568210133714; Wed, 11 Sep 2019 06:55:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568210133; cv=none; d=google.com; s=arc-20160816; b=VOzR163NurKcX0k84dsv47HhTSnTW+DFPxl8ASFgwuOYKo4FwxE7817IA5VqdLDiIJ 5Rimw+K2/5xUjXbC8ku5v9azBay+CHtRz8tQbSHoaACdfVCnVJx/f3GMu35KH93vRoMP 5xaJPU3/HdVrN2NaRtb4fYRD2ZbxWb6UdfvCHc8tp3tulT/neGoISpE/aUQNbSq19hV4 0U1xhzQh9T9XvxtuzTf1R8kU30zZgIvjHl7+axpyyDotgEmXLPj/tfVQ0W5HHGfKnO4O 1StylxIn8p6DhnpvbwN8DmXS079gEodal2z26wOQUBFVWxTCbcyzz2su1nmsVdGzs2vm EnRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=NoMqRKmSHDNSonXcVU6fMQXm+z8bwoc4kZBnKFdCowk=; b=fjb8NrE5JP848e06JLdylKYNl7kvNR7fqYUlFn243NGE+pxlcgKbIx+BKFLVwApFNt 4K06R8w1BwjTH5prfOd1t/SB7gd+a6O1oCiue6m0ZM6Ey2r4smz5ijgBY5P+yObmBqhs R8IkrxBBJCbOK0hxmMuraPmReJv1ryAqyfH0KgCNHICMrBu3E0hbMvMHABz1XJspyyC2 3wuuLe+3NBOfDNAqHDFLsbfIJkrBwe3I/53aA7ZUtmsUt0lWMWrvmSTaySKsrplePCdd BFzw2N2hPVKYsqjh3aOuh9EcGTf56AUHYoCTEjjpJ+KyD6G3Z0wSMeuER5FururXg9VQ YceA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=U3w+OKyB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f5si10946201ejq.98.2019.09.11.06.55.09; Wed, 11 Sep 2019 06:55:33 -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=@linaro.org header.s=google header.b=U3w+OKyB; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728204AbfIKNvI (ORCPT + 99 others); Wed, 11 Sep 2019 09:51:08 -0400 Received: from mail-lj1-f193.google.com ([209.85.208.193]:32783 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727782AbfIKNvF (ORCPT ); Wed, 11 Sep 2019 09:51:05 -0400 Received: by mail-lj1-f193.google.com with SMTP id a22so20110558ljd.0 for ; Wed, 11 Sep 2019 06:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NoMqRKmSHDNSonXcVU6fMQXm+z8bwoc4kZBnKFdCowk=; b=U3w+OKyBdOmsh6TvHMeNg2QShNoGWJKQGgwwHt3oI+sJpfMGXbMmZAW4xPIAm37vUf eHS2BZ9FeUkb+xCURTh9+1atnbXo8i0O4a0ONkSg9pFunDi8U2UOmSKJo1csyqw42lFA Mtkq+qxIiq+2bjH3m880tHaH0bAkOzrbgg0bCQxQuUQHe6UfpQX4gtCSowLb48kYe9H8 UDScj59r1OpzGwKEUTtY0PSMfA669A1lqJPtmTOGCnfVHZP26XqHbb0caZ6Vh8TRf0Xv FKUWnGmrKvVL/6XJ5Hq/UgLcW9DyKpOfdnw39veCqa1inGv0zjOMM6xtfSIokn3qL7oh WaEQ== 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; bh=NoMqRKmSHDNSonXcVU6fMQXm+z8bwoc4kZBnKFdCowk=; b=ug6X3KHECSrwhXGo6Dj9cxgimqDMc4HcJTiI01qapyFJV/gcs3GNS+/hilh2bgwwrs G214tK/ZJowvKbhQwmztS+OhRqCj/NdiQpuhf+szf0KHu70VzCr7WpReVlJovyAnL5LI lCIxHiEOu0pljLQMTPIGtvhbqgtstp2cgMF+T2S4BiVYu0bN26sV0ydWHfBrlUwhvlCI S+/5JxJpNDXemRx30vmdP0cuEgKhTk6Jj/53FA3eXf+yWgdQYPYFzWO4btOKFMVc669N GeNIEKLUQ0AUjixOtINt/DTPPw1VfG9PMWRt4OwKWksRkYxAYEsL3Mv5DEPor7k21GVj OQNg== X-Gm-Message-State: APjAAAXHGf7FNEaiXAumSpUuNXTI/ByD3ZTHRJU8Dsve7V1K6hSJRsaH YzdHCc3HrqXAfC8f6K7vJK0q1CE9z0jeOYgCjqv7oA== X-Received: by 2002:a2e:884d:: with SMTP id z13mr22437077ljj.62.1568209863184; Wed, 11 Sep 2019 06:51:03 -0700 (PDT) MIME-Version: 1.0 References: <20190906131032.22148-1-yuehaibing@huawei.com> In-Reply-To: <20190906131032.22148-1-yuehaibing@huawei.com> From: Linus Walleij Date: Wed, 11 Sep 2019 14:50:51 +0100 Message-ID: Subject: Re: [PATCH -next] gpio: creg-snps: use devm_platform_ioremap_resource() to simplify code To: YueHaibing Cc: Eugeniy.Paltsev@synopsys.com, Bartosz Golaszewski , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" , kernel-janitors@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 6, 2019 at 2:48 PM YueHaibing wrote: > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Signed-off-by: YueHaibing Patch applied with Eugeniy's ACK! Yours, Linus Walleij