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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68FC6C433FE for ; Fri, 29 Apr 2022 09:21:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356444AbiD2JYT (ORCPT ); Fri, 29 Apr 2022 05:24:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41526 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238781AbiD2JYQ (ORCPT ); Fri, 29 Apr 2022 05:24:16 -0400 Received: from mail.skyhub.de (mail.skyhub.de [IPv6:2a01:4f8:190:11c2::b:1457]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5020AB53EB; Fri, 29 Apr 2022 02:20:55 -0700 (PDT) Received: from zn.tnic (p5de8eeb4.dip0.t-ipconnect.de [93.232.238.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id 737251EC054E; Fri, 29 Apr 2022 11:20:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1651224049; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=pYYZ0Cioy1jpcXSOacJzPaCa0t3YepuHT13CF6yP8d8=; b=FQeEqncoOupnPKtGAZqypsEerMJVj5FF4EDivZfRtwrdRHCuIE9Emt4QettTKVBHp9rXLL WTIzOyTF9i14IBfOoJMJaxh6gHR4ciHZldXcA43Y8hPcE4gqF9FKQ+DK+8ur4yvXIWeiTU otL2GidG+/bXU7zxeaAhPnm6FPn7big= Date: Fri, 29 Apr 2022 11:20:44 +0200 From: Borislav Petkov To: cgel.zte@gmail.com Cc: jlu@pengutronix.de, mchehab@kernel.org, tony.luck@intel.com, james.morse@arm.com, rric@kernel.org, linux-edac@vger.kernel.org, linux-kernel@vger.kernel.org, Lv Ruyi , Zeal Robot Subject: Re: [PATCH] edac: Make use of the helper function devm_platform_ioremap_resource() Message-ID: References: <20220421084621.2615517-1-lv.ruyi@zte.com.cn> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220421084621.2615517-1-lv.ruyi@zte.com.cn> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 21, 2022 at 08:46:21AM +0000, cgel.zte@gmail.com wrote: > From: Lv Ruyi > > Use the devm_platform_ioremap_resource() helper instead of calling > platform_get_resource() and devm_ioremap_resource() separately.Make the > code simpler without functional changes. > > Reported-by: Zeal Robot > Signed-off-by: Lv Ruyi > --- > drivers/edac/armada_xp_edac.c | 18 ++---------------- > 1 file changed, 2 insertions(+), 16 deletions(-) Applied, thanks. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette