From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7658AC19759 for ; Thu, 1 Aug 2019 17:16:20 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 1E3C02064A for ; Thu, 1 Aug 2019 17:16:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fUTET7jV" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1E3C02064A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=davemloft.net Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Mime-Version:References:In-Reply-To: From:Subject:To:Message-Id:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=s3J0m1rWUGbYsAGzHEGFIizVobX6B2LB6Lh6dyNAf9Y=; b=fUTET7jVjn/wD5 bnV52KOowsO9j3XgQrMOg/HGhx/6DUHvV9n5HDbA0tlZq1/TNzky3TaeVbTA+wVqhu+Uh2uJyzYx5 /doLFHG5/cFGe34wVvb9n1hIWHwdl6hkksPzP2zVZOWDEyMyxMIiJskiWisdnagMy8BBGIPaGHppI WxcasNRTNtx3pBCh2RAYlvPjDRe6lSZgVDRMZM4gPwNCN+mzZPepp+FCTPNKbzaPlNVl+ShjZ3q6X EEv4dEB7LMHFSsKCUKgzsNJWpQUefWiVKG82r03smVnKhd4im0vuTshE7DC7u3UnACcAFqQQOpdJC 9Be1y4YraJZXBAiV6pVA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1htEgX-0002hm-Tz; Thu, 01 Aug 2019 17:16:13 +0000 Received: from shards.monkeyblade.net ([2620:137:e000::1:9]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1htEgV-0002ew-SF; Thu, 01 Aug 2019 17:16:13 +0000 Received: from localhost (c-24-22-75-21.hsd1.or.comcast.net [24.22.75.21]) (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 B6C27153F5146; Thu, 1 Aug 2019 10:16:05 -0700 (PDT) Date: Thu, 01 Aug 2019 13:16:05 -0400 (EDT) Message-Id: <20190801.131605.1450796300087632478.davem@davemloft.net> To: yuehaibing@huawei.com Subject: Re: [PATCH net-next] net: mediatek: use devm_platform_ioremap_resource() to simplify code From: David Miller In-Reply-To: <20190801123308.20924-1-yuehaibing@huawei.com> References: <20190801123308.20924-1-yuehaibing@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 01 Aug 2019 10:16:06 -0700 (PDT) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190801_101611_916579_B24E733D X-CRM114-Status: UNSURE ( 6.21 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: nbd@openwrt.org, nelson.chang@mediatek.com, netdev@vger.kernel.org, sean.wang@mediatek.com, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, john@phrozen.org, matthias.bgg@gmail.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: YueHaibing Date: Thu, 1 Aug 2019 20:33:08 +0800 > Use devm_platform_ioremap_resource() to simplify the code a bit. > This is detected by coccinelle. > > Reported-by: Hulk Robot > Signed-off-by: YueHaibing Applied. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel