From patchwork Wed Mar 8 10:48:17 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13165716 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 1163FC6FD20 for ; Wed, 8 Mar 2023 13:16:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=D2VhO+qukHEj0EUslUoe6hbSu4BqYi+GAp71lu7N7MA=; b=Egp/t08mfunmQ6 /k/abkUspIknEtThOL5LpufKC44PGjA60SJaQ+0968eKEFdL4tZ6dCSqbteuLq6pAJ8l8+hrb0wVt lZblH+RFwUYI/2mu2r4KJO3fxnbSYmB2cDYhNHjDranKFZbwO82uXaIA0LmwZrfLTD/Wz0ct2rAAy voxD5MSok6ANy/2REwj9DvmyrNlkvZNZALAvs+Zon9LM1D3lvcPlKLMOHTN9sXxIm4rtrnfr2x0wo 7s//216oRPvUy/8qVIf8+HaeRLXEFgSKEn45pH0+/0KYZ0MgHXBk58B3EwFprIXWU9cdtZNRcfT6c iJ7omjh9gZ6FMnk5S4Rg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZte4-0057vy-AO; Wed, 08 Mar 2023 13:15:52 +0000 Received: from michel.telenet-ops.be ([2a02:1800:110:4::f00:18]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pZtdd-0057gN-L5 for linux-arm-kernel@lists.infradead.org; Wed, 08 Mar 2023 13:15:27 +0000 Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:614d:21b0:703:d0f9]) by michel.telenet-ops.be with bizsmtp id VpFL2900R3mNwr406pFLPZ; Wed, 08 Mar 2023 14:15:21 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1pZtd0-00BF1A-Fu; Wed, 08 Mar 2023 14:15:20 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1pZrLH-00FUlG-JX; Wed, 08 Mar 2023 11:48:19 +0100 From: Geert Uytterhoeven To: Magnus Damm Cc: Andy Shevchenko , Saravana Kannan , linux-renesas-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Geert Uytterhoeven Subject: [PATCH] soc: renesas: rmobile-sysc: Use of_fwnode_handle() helper Date: Wed, 8 Mar 2023 11:48:17 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230308_051525_857943_290F2FE1 X-CRM114-Status: UNSURE ( 9.97 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Use the existing of_fwnode_handle() helper instead of open-coding the same operation. Signed-off-by: Geert Uytterhoeven Reviewed-by: Andy Shevchenko Reviewed-by: Saravana Kannan --- To be queued in renesas-devel-for-v6.4. drivers/soc/renesas/rmobile-sysc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/soc/renesas/rmobile-sysc.c b/drivers/soc/renesas/rmobile-sysc.c index 204e6135180b919c..728ebac98e14a5cc 100644 --- a/drivers/soc/renesas/rmobile-sysc.c +++ b/drivers/soc/renesas/rmobile-sysc.c @@ -343,7 +343,7 @@ static int __init rmobile_init_pm_domains(void) break; } - fwnode_dev_initialized(&np->fwnode, true); + fwnode_dev_initialized(of_fwnode_handle(np), true); } put_special_pds();