Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5942773ybp; Tue, 8 Oct 2019 10:30:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYCg7jvIZnzo3DxAXfyp/mwhWI1uPYs88n1SUP5x93veukFCYpvPsZ6vAu8U03ZDpnqEwl X-Received: by 2002:a50:acc1:: with SMTP id x59mr35352194edc.278.1570555843544; Tue, 08 Oct 2019 10:30:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570555843; cv=none; d=google.com; s=arc-20160816; b=FZFP7UhAXTY9NaH+wPLtjlnCqfV+b2fGICtge1RmynFEwDzQiM3+dV3NNETyH+btGg EroMl1aYi2c0aUcjlshzdf9ZY5saqw/cKkM+36OIWSD3aiggoKcMbAaynJDtNWUBFrm9 aAgSpH9LYrf8fytK5pMZ7c6AcvKmEWZ0bGljoct33XHdexPVp+X8l43HFrj3TSoPh279 CK85gGEO8VYcpKfvpgv/xLusuE3PU7g0B/Uc/O8hRHmhDhL8rrzXeABgqXB7HOY7+PBW aJIpF3+wAGW2oDj62aqZ9jIWCF8ybpL6UnjYjjtgDiPM6fPzOXnzEQ7YT/zC0YCnGDRn sNTg== 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=eKu2yueVNgRFpAUd8185a7uHA6JiCaBaoe2JcBRlEts=; b=LrqgfcwX90Up+FUirQtsY1lE2I2wfsW9UqkQzlorT5deZ+iRVYSr+Z1Es7AWOzB8gm QQ9epj0Xeb5Jl024sgl2woaqZS+k2HHX+BwxsUjwRiNYmZMJyAlRCKvd2PBdOb0tN+XV X7qxxo3bNeRULhHTk03G9QIM12avNQtAuly5oypO+DPMqpdFCzPYvlOqoypGAt6C8ii7 Bul9sPoCIZmlFCpW+Mdzvd2OKTeNWztHxb396pmls9g4l2+1pbRbWNVi8CnJjvAFM3lW LVZ2oWFdubLuWTIMums6UzT+E1hFUaYC01K9FMXFqJ7LoyjJkGYh/VXstXg37gBS+MoF QvtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@googlemail.com header.s=20161025 header.b=G9y99tj3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a54si11207761edc.333.2019.10.08.10.30.19; Tue, 08 Oct 2019 10:30:43 -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=@googlemail.com header.s=20161025 header.b=G9y99tj3; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=googlemail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726353AbfJHR3k (ORCPT + 99 others); Tue, 8 Oct 2019 13:29:40 -0400 Received: from mail-ot1-f68.google.com ([209.85.210.68]:39798 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbfJHR3j (ORCPT ); Tue, 8 Oct 2019 13:29:39 -0400 Received: by mail-ot1-f68.google.com with SMTP id s22so14713589otr.6; Tue, 08 Oct 2019 10:29:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eKu2yueVNgRFpAUd8185a7uHA6JiCaBaoe2JcBRlEts=; b=G9y99tj3v+V4iLG0bqYPs3+tPbnpm+K8PGhBA4ulOWisBfs2mqDJ5CCVcxua9X0Bzx TVb6f0KBhJy1bc0l/MMaIsdrzarm2gYuYU9syVv1oPFNOeThISGEZ7Te3Nl1Do4fcAts 6aNd2x2aW8/U3xy9lGvYlbPdehJm7w5ixP6MhLXb6OZ4g6U97xVFakR9uCo7wfBxUEvM CVsTNGDcMCWPv/2wa7pmOUIdy3fSENuSbsO9XA2/gPYh8ehyc5qK0NkzRqq1oUdLiifS oZae8ODfAnBk743TO+QxLUlcXA+oX+61WnMPrOhKnethMHPGIsmV2T15IM39OkAhV1fQ KZlg== 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=eKu2yueVNgRFpAUd8185a7uHA6JiCaBaoe2JcBRlEts=; b=PibE6gaFBzWHxllaDQO0g42te3HDeETeiIlC6d+4GvW/lSAVjNNwzFDJu7zDDaZxbJ fEMdjSU2V6FrayI53YwVj9KcWYCql5WmvYm376NSjglJou6ata1FMXFovC2I1AZq3ont BM53E83DRfW5KBbu4/pBWPMLRO0x6LNf7An3m2hDi9vTnG5bQYN8kHKyp2fd8Lbac7uu jR4XsbYQLaSJLROlDD2SFfm6Bi8VRNmUkv1wAGTiydbU/WNG24hQOJ6mlJpPds1S1jph /dWK+6i6paP/VCV3VpSG6yXIcRBaSf1VNdYESe69LlWJXtyLtukyWO/EIBe4z/nTjVbf ZtdA== X-Gm-Message-State: APjAAAXvymCD9bnjnbEq2KQqBIDaWMkxcmGT3dkzPxp8NduxYiPXPSmK r+3p4HHGgoGoCjQJyh1m9xlLYFYD3Icn+1FN15g= X-Received: by 2002:a05:6830:150d:: with SMTP id k13mr25811500otp.98.1570555778900; Tue, 08 Oct 2019 10:29:38 -0700 (PDT) MIME-Version: 1.0 References: <20191008102751.GA10401@saurav> <7h7e5f5lbd.fsf@baylibre.com> In-Reply-To: <7h7e5f5lbd.fsf@baylibre.com> From: Martin Blumenstingl Date: Tue, 8 Oct 2019 19:29:28 +0200 Message-ID: Subject: Re: [PATCH] usb: dwc3: dwc3-meson-g12a.c: use devm_platform_ioremap_resource() To: Saurav Girepunje Cc: balbi@kernel.org, Kevin Hilman , gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, saurav.girepunje@hotmail.com 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 Hi Saurav, On Tue, Oct 8, 2019 at 5:06 PM Kevin Hilman wrote: > > Saurav Girepunje writes: > > > Use the new helper that wraps the calls to platform_get_resource() > > and devm_ioremap_resource() together in dwc3_meson_g12a_probe(). > > > > Signed-off-by: Saurav Girepunje the following commit is already in mainline: commit c6e4999cd930b8bd11dd8d4767e871b47f502845 Author: YueHaibing Date: Fri Aug 2 21:04:08 2019 +0800 usb: dwc3: meson-g12a: use devm_platform_ioremap_resource() to simplify code Martin