Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1408010ybi; Fri, 12 Jul 2019 15:38:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqy/k6Fs32tYRc6NyFBvBAHylLxji8SL7sx1hwm/lBeyeTkzSf5kGBtSB3xQYdoIJPYnJR5S X-Received: by 2002:a63:607:: with SMTP id 7mr13492757pgg.240.1562971109329; Fri, 12 Jul 2019 15:38:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562971109; cv=none; d=google.com; s=arc-20160816; b=iNBl2y4bABgQtvm2n11w0ep7GmgrfN4D9yWf8v7qLMa+wA46uvaDbaUe0cV0NH7nBL 2Ny6PV84MpkQulo9wcFreKu2c13z551V6pgWTmc6I+QFNOVwOtn/zKZbOieT8VAFRx9j tonOavYB/+ANaFPdu2qyWH6Rb51gPjSlWhW8YyWYpC5ctsGn+irJfFEa6HIsuenn+X/r KAUDtvmPt9wzxfxZABMmLjpnmE+TxWD+yLgb5TM3J004kI+5Em5uzz7qa/TUQbayXgNF N11YhaZZjMWTuS/hYZnxI4nt/aOVJB61q/8SGfYaG0sLT7qrtd3NK/Wl6eSCOrx3QFTF a9KQ== 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:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=xvN4yQQ+YHfzCIe8OVHYpIVc8XvQUCXjaWmSSBhxV28=; b=PDVXVt1ymWNzS9Lhz0YwrE/vEZxkiGc10fJEAUTVY+mzgehyy2o3pij2XGgleUnp85 rFNstEOyn6YPdiFR5Rpv4D6GWEzsuc0JpR0RS/X6SW/94BUItpq7CZ+mzVr2Z4zGWkTb qFslCZ7JefcfV//YEhkRrcaYO+cHCSmDcP/v7AEbQvJZXyjWlvHe7Ei8nCiz/EP0aofY 7OMBKxvyWhSToVNVHnT3AkY2V2d5j0dAg6edhcs13QYgVg4Uy9zYH1zZcrdxfAwJd6l0 vt80t1yy2pXOYl2zg+i2nBF6ntG5KOVUuQrVGVCEeau6fmm01YMcL5Hs0vCT3I7ladBl nlwA== ARC-Authentication-Results: i=1; mx.google.com; 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 j27si4658389pgj.571.2019.07.12.15.38.13; Fri, 12 Jul 2019 15:38:29 -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; 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 S1728150AbfGLWhc (ORCPT + 99 others); Fri, 12 Jul 2019 18:37:32 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:34362 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727994AbfGLWhb (ORCPT ); Fri, 12 Jul 2019 18:37:31 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id EF21F14E01C15; Fri, 12 Jul 2019 15:37:30 -0700 (PDT) Date: Fri, 12 Jul 2019 15:37:30 -0700 (PDT) Message-Id: <20190712.153730.2158185171235731158.davem@davemloft.net> To: xiaojiangfeng@huawei.com Cc: yisen.zhuang@huawei.com, salil.mehta@huawei.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, sergei.shtylyov@cogentembedded.com, leeyou.li@huawei.com, nixiaoming@huawei.com Subject: Re: [PATCH] net: hisilicon: Use devm_platform_ioremap_resource From: David Miller In-Reply-To: <1562937384-121710-1-git-send-email-xiaojiangfeng@huawei.com> References: <1562937384-121710-1-git-send-email-xiaojiangfeng@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 12 Jul 2019 15:37:31 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jiangfeng Xiao Date: Fri, 12 Jul 2019 21:16:24 +0800 > Use devm_platform_ioremap_resource instead of > devm_ioremap_resource. Make the code simpler. > > Signed-off-by: Jiangfeng Xiao Applied.