Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5047069pxj; Wed, 9 Jun 2021 08:01:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxTu+gKzHVamCuf/OAg1EAxbpRwR9Sm9hoAFjpNu72GAGjvUrv7cYnx9YKrSWx1gPyx1XkI X-Received: by 2002:aa7:d64f:: with SMTP id v15mr30590885edr.255.1623250885870; Wed, 09 Jun 2021 08:01:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623250885; cv=none; d=google.com; s=arc-20160816; b=F35M8nLPNSmmyI7ADoBagOVYpawSXCRwcR1nZabKdPdvIIH8KSr9xdXs2fqeQz40x2 NK51ejFvDwdtN3z3TN2QywKlKtcBQ/6YXWDmHMbP8CjMdsQSDx1FpZIgPk6elnrQsoUz V6LRPYtAq+L+Y2tRstf4d61kk5G+2EWq8jCU7SJw/QCTlh2qfG0xXAbnowInXuE/52MV xtY8WQqRjIS4Etx0o/CRQccryEjenZsMkBCR5NWThFKcdGcrRbI0YTjxh2ds9AlQqljA aMbsxk2PAcwnL3WWwKjoLq3FB0J8RNWnISVWKMSos0TyKSGkuiURTwPEDB1DPree4+X1 XUXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=XU4nuwXA9XapQtWzgw9qoH4a27DL9lWpG4Je6ZYcMRs=; b=MvzccHhmrxbO9rRpE9jG2hDNqtkfo6YZWcWBNW51LaL5ESwdDvYYq4KC1mWvIaHJCY P1uvv+eFYAR6JKRSRu9lNWCgnEwy79w+MCD2RZiFqZNslIiIaRIJIrF9bSsCm6EPcrR0 ZswBDGwoGnLD7E9tRQHv6VQFpC77scdASLS8G7pCFOFfd5TAc1MjYOyS1H4u212UyGme aSyriFDSpMJmk0Uu4o06PIAE1FbgNgmiYpO/e4OYEzBaAdBgk1TdoJCYkDl6EAw6A4DD 4g2DvdqQ/YwVnhG1I7S3F4ggtkZ1I4cIWzSSl9+Z/ntg9bQ+lLEiej2CX+3n1nDOmvFS R40w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AXDNZVTT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si61154ejr.283.2021.06.09.08.01.00; Wed, 09 Jun 2021 08:01:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AXDNZVTT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234841AbhFIMDD (ORCPT + 99 others); Wed, 9 Jun 2021 08:03:03 -0400 Received: from mail-lf1-f49.google.com ([209.85.167.49]:40940 "EHLO mail-lf1-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234696AbhFIMDC (ORCPT ); Wed, 9 Jun 2021 08:03:02 -0400 Received: by mail-lf1-f49.google.com with SMTP id w33so37639323lfu.7; Wed, 09 Jun 2021 05:00:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XU4nuwXA9XapQtWzgw9qoH4a27DL9lWpG4Je6ZYcMRs=; b=AXDNZVTT4Go+M2IvGYKwAojDrYlAighaolpI4KG1uDGX/8k8mHjDmIT7PTo7h0Qvm5 hZr5+0B0BQCIKeEKD4LNt+oyKLmSTqaTiE7ldtFOIo7bX1Szd+idx0BhBNLqxzdbQ9vv H90PkkFtkM69YL5sT0Q88rXGn/2swCbntcCOvyZj/14WDe/EX+GM7Q75Shnt5ISyIzn1 xzV7LT804hTNm9+dBWC7ItyPvfkFNQl8TzHl/b+rRwZ16+UuiHOQURa8XzgceK6Zy1ZI K+VW/Jw9daaA1eVEfEp8KG/2YZda83lpvY1jHI9oVpYLjofSBp2QiX0TO21itY9I2o+w 6/sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XU4nuwXA9XapQtWzgw9qoH4a27DL9lWpG4Je6ZYcMRs=; b=W/ipMLstV8ERM33lIp9s5zlzPa460PuL7eqEUF+lvOAu+kZPtFUAPRx5L0zDekNu/y KEq3Rl+ukpklX1OWD5apFz0F94VWX0+bxL6rYXLTPVaYIXt6Fh3s246zLAKZn0Nz9Rdw X5LFJdIjmu5AOV9fHuE8YCZdXwGdHgOBwO8jqccAEeV6WIVlhhVVMHTS5gcxMbkdIjVH snt71ib6mi10N1PjX6J1gtI2WmDmsUOuO4PEqS1WupqxRmvyOsxiYNMo1FbHEjH/y37J ToE68h4Y7CATNF6FxBNoSMQig05xS94lczltDZfakuS3e1flPbSwQyywIwkmjnEG9uO9 opsg== X-Gm-Message-State: AOAM532umedy4u2LLUrRFDbiWzWeR0rzPXKhrYspRYiaXknwZhJC8hU1 hE4hulnaGUbANKhocx+e8JVg0or2Hvc= X-Received: by 2002:a19:740e:: with SMTP id v14mr19468765lfe.614.1623239994312; Wed, 09 Jun 2021 04:59:54 -0700 (PDT) Received: from [192.168.1.102] ([178.176.77.194]) by smtp.gmail.com with ESMTPSA id t201sm338909lff.39.2021.06.09.04.59.53 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Jun 2021 04:59:54 -0700 (PDT) Subject: Re: [PATCH net-next] net: ethernet: ravb: Use devm_platform_get_and_ioremap_resource() To: Yang Yingliang , linux-kernel@vger.kernel.org, netdev@vger.kernel.org Cc: davem@davemloft.net, kuba@kernel.org References: <20210609012444.3301411-1-yangyingliang@huawei.com> From: Sergei Shtylyov Message-ID: <13d7446f-13c9-bf0c-7181-adea1cb031bc@gmail.com> Date: Wed, 9 Jun 2021 14:59:52 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 MIME-Version: 1.0 In-Reply-To: <20210609012444.3301411-1-yangyingliang@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 6/9/21 4:24 AM, Yang Yingliang wrote: > Use devm_platform_get_and_ioremap_resource() to simplify > code. Not as hard as it seemed at the 1st glance. :-) > Signed-off-by: Yang Yingliang Reviewed-by: Sergei Shtylyov [...] MBR, Sergei