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 A5457C61DA4 for ; Thu, 9 Feb 2023 12:11:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229772AbjBIML3 (ORCPT ); Thu, 9 Feb 2023 07:11:29 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229823AbjBIMLB (ORCPT ); Thu, 9 Feb 2023 07:11:01 -0500 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 6B3459029; 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-02; Thu, 09 Feb 2023 13:08:46 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 88003C26DF; Thu, 9 Feb 2023 13:08:02 +0100 (CET) Date: Thu, 9 Feb 2023 13:08:02 +0100 From: Thomas Bogendoerfer To: ye.xingchen@zte.com.cn Cc: dmitry.torokhov@gmail.com, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] MIPS: pci: =?iso-8859-1?Q?lant?= =?iso-8859-1?Q?iq=3A_Use=A0devm=5Fplatform=5Fget=5Fand=5Fioremap=5Fresour?= =?iso-8859-1?Q?ce=28=29?= Message-ID: <20230209120802.GC11168@alpha.franken.de> References: <202302081046390773649@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202302081046390773649@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:46:39AM +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-lantiq.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 ]