Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1954564yba; Tue, 2 Apr 2019 20:53:05 -0700 (PDT) X-Google-Smtp-Source: APXvYqx2JqukcCGnFOLp4C2Xe5PXJeyJH4e9qdMbYUPjKvwQsiXPhO+bOZZjzaYxrxD6VWUcj6Su X-Received: by 2002:a63:6581:: with SMTP id z123mr19386106pgb.243.1554263585655; Tue, 02 Apr 2019 20:53:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554263585; cv=none; d=google.com; s=arc-20160816; b=I5/PJvcE8zX54i4Aokx4h8p6eWpJnO++2mEjmQA/L4EI3bhKLMQ8593SYGIDi13HqI c+kRbyDIoOn88myoFa921jlfThFZzzTPjxjvBRWoxYegUQG0k6pRClGWmuehPybkS6NJ MvqEf5n5WeATuyWY45sD1ByjrQSGfW+gu4N5FAvRsVRVkkxZfCcH38KQBpr+82PmZtwW Ynvgt0JERlzwJOENMu2sDB1tz8nt5s+UidrsDcNT+7LJBPhHJ9vXZlpHLxEmxR8T2FAH xPk39p8q+J/abL/hGHphDgLdMAhsZrlHjSNJrihUOm9pQw45cULdbYkJMlOfSDIgF453 98zQ== 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=kg3WUa3CkCPyjjbhF0hOtQWsJmh9cExSsQakBS9fveI=; b=Ao0dsFCcRs2xkxfhvPb9zP3BR/aEWzbO6yC9P/Yg2YvIooKkR9+6h8/GJHZ1rJdp4V iZNwyVLDIrtcKqIZGO+jKXrWCHXQBJMtBLeJZyqgoaQMrDqO1FeffW9iEGldHwL2aXLs 7qOsOiwxD4nrTx0nrsnM2Lf24JMcI5EuH1zegnFw/aua/tWRrN+uJid99p0DV9zWtl7Q iieZaAeFLGTh/viie6G+MybPtS3d1TeRcYE5FpioVq0H+6MGvYpLlDjIBRpAv2WT4Ws3 m6Xz31z3wGPp2qhu/C37hXI2XkZ3nV+evVNx7peblqxNwVXdva4d0WAup9GtyvqrTi7P Utkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=RyD78TZA; 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 i8si12711613pfa.97.2019.04.02.20.52.50; Tue, 02 Apr 2019 20:53: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=@linaro.org header.s=google header.b=RyD78TZA; 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 S1727074AbfDCDwI (ORCPT + 99 others); Tue, 2 Apr 2019 23:52:08 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:37249 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbfDCDwH (ORCPT ); Tue, 2 Apr 2019 23:52:07 -0400 Received: by mail-lj1-f196.google.com with SMTP id v13so13529370ljk.4 for ; Tue, 02 Apr 2019 20:52:06 -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=kg3WUa3CkCPyjjbhF0hOtQWsJmh9cExSsQakBS9fveI=; b=RyD78TZAxKA3ie7m03JtN5qUC8/Iaz6k16FIqQoqig2jPtyBVzCSxcMdJlEf+QEy90 dzJ2Thkf8UQknpto25seUQSk499WvnST8woBVeQ6BVEABrvJG3JHEl2U/eRMAueLNpLl oxrAAUdFwxrFxuqTXint1gEqfwYupcxzxj0J1bsLsG1hqh1lHCof9ZnhoZClIgkICUwS sUHLnuX9egFaXk42UT792I15F5+trizSv+b7G03SPFarEydfXA66yLU3OM2MCsegdqN5 davDZ5yIQOi30jGcvgcU1Rb9EYYm9CNLlclHE9bX4fJNyDhjM09ViKtTSjV0t5Qt3yoi lNQw== 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=kg3WUa3CkCPyjjbhF0hOtQWsJmh9cExSsQakBS9fveI=; b=QpFzXyMI3cc+8XVUdB4hVS6zbH1vsk1eXF6Jok5PiPvhMxEx/cFgcAU8DKqcMw33CQ QSVDVkWpcjguAcpy/kU+UZ/Y4Ffsd1Qcmspub5v+MluIlEM8KBN+q5HVEdJha6gJkBw7 K6YzR+JZyKIiamLXhoJPTeqiZa4IBH/rUyYyBVmD/5iE21fPCFTvDlk15YJqxMQplMfg ZpH0ufQjMl1nyinrqHdKrmalFcvSwrrxfE/+AufxYLOdnwbivGNwE1Hc81OzWudFn05r 9ET+RWOEhZk8HUeGrt0sw1zZ4qbX6rsS+A+5BahgRPqyDNGyCRv35AIxEDGp2447AXBZ 7wmA== X-Gm-Message-State: APjAAAV+mwZmKbcPCiqy/z7U6931wToNVRGN5BDNEhNsxPAwKEkpdVtC fOnZzwWuazacfu0vTffNklZcmITW0ey2/OEb/HjcJA== X-Received: by 2002:a2e:3512:: with SMTP id z18mr27125108ljz.25.1554263525916; Tue, 02 Apr 2019 20:52:05 -0700 (PDT) MIME-Version: 1.0 References: <1552330521-4276-1-git-send-email-info@metux.net> <1552330521-4276-38-git-send-email-info@metux.net> In-Reply-To: <1552330521-4276-38-git-send-email-info@metux.net> From: Linus Walleij Date: Wed, 3 Apr 2019 10:51:53 +0700 Message-ID: Subject: Re: [PATCH 38/42] drivers: gpio: vr41xx: use devm_platform_ioremap_resource() To: "Enrico Weigelt, metux IT consult" Cc: "linux-kernel@vger.kernel.org" , Bartosz Golaszewski , Andrew Jeffery , Florian Fainelli , Scott Branden , bcm-kernel-feedback-list , Hoan Tran , Orson Zhai , Baolin Wang , Lyra Zhang , Keguang Zhang , Vladimir Zapolskiy , Matthias Brugger , "thierry.reding@gmail.com" , Grygorii Strashko , Santosh Shilimkar , Kevin Hilman , Robert Jarzmik , Masahiro Yamada , Jun Nie , Shawn Guo , "open list:GPIO SUBSYSTEM" , linux-mips@vger.kernel.org, linux-pwm@vger.kernel.org, Linux-OMAP , linux-tegra@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 Tue, Mar 12, 2019 at 1:56 AM Enrico Weigelt, metux IT consult wrote: > Use the new helper that wraps the calls to platform_get_resource() > and devm_ioremap_resource() together. > > this driver deserves a bit more cleanup, to get rid of the global > variable giu_base, which makes it single-instance-only. > > Signed-off-by: Enrico Weigelt, metux IT consult Holding this back until we have more consensus and some ACKs. Yours, Linus Walleij