Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2812EC05027 for ; Thu, 9 Feb 2023 12:11:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230223AbjBIMLX (ORCPT ); Thu, 9 Feb 2023 07:11:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229709AbjBIMLA (ORCPT ); Thu, 9 Feb 2023 07:11:00 -0500 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6C939975E; Thu, 9 Feb 2023 04:08:50 -0800 (PST) Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1pQ5jK-0008Pq-03; Thu, 09 Feb 2023 13:08:46 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id A46D9C26DF; Thu, 9 Feb 2023 13:08:18 +0100 (CET) Date: Thu, 9 Feb 2023 13:08:18 +0100 From: Thomas Bogendoerfer To: ye.xingchen@zte.com.cn Cc: matthias.bgg@gmail.com, angelogioacchino.delregno@collabora.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org Subject: Re: [PATCH] MIPS: =?iso-8859-1?Q?pci-mt762?= =?iso-8859-1?Q?0=3A_Use=A0devm=5Fplatform=5Fget=5Fand=5Fioremap=5Fresourc?= =?iso-8859-1?B?ZSgp?= Message-ID: <20230209120818.GD11168@alpha.franken.de> References: <202302081048037733713@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202302081048037733713@zte.com.cn> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 08, 2023 at 10:48:03AM +0800, ye.xingchen@zte.com.cn wrote: > From: Ye Xingchen > > Convert platform_get_resource(), devm_ioremap_resource() to a single > call to devm_platform_get_and_ioremap_resource(), as this is exactly > what this function does. > > Signed-off-by: Ye Xingchen > --- > arch/mips/pci/pci-mt7620.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) applied to mips-next. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]