From patchwork Wed Feb 5 09:45:28 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 13960740 Received: from riemann.telenet-ops.be (riemann.telenet-ops.be [195.130.137.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E4377229B1D for ; Wed, 5 Feb 2025 09:45:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.80 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738748749; cv=none; b=XrIeTPqNKeOCdNuOvRFVOf6ePjFLqpljBqm8EDDh48C0peC/hTEWnaDHw7f2JFcjGEPR1qNPoP5FX5K6Iel3YBYr3gCZUl97ym9AedX9V5NN4uu1eya/Do1JlgTSf6gbml6rs3N+cBU0FE1BBd2me6UINoNlnddLpylcBOKZNq4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738748749; c=relaxed/simple; bh=GCOpWK6GXL7mrtPD52U4EunVLUVNpoq2eo5GgeDd31o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=W6mlQE/BuuC3/4edyG8uPU/XY4H4M5UFdd5BykhF9SdFSOwvK2k1ssG1wFc6PkLQNVCn+3tDX28ypFy3K6pzZCtYl37WZUoryPxhmt2Un4+URF5dt5JHdw1vUb6k6oMVNeDWqF5zUJdtMPiGv6s2iouG5Ng92Oo0b6YS1OiUGKY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.80 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [IPv6:2a02:1800:120:4::f00:14]) by riemann.telenet-ops.be (Postfix) with ESMTPS id 4YnwMh46hQz4x2BC for ; Wed, 05 Feb 2025 10:45:36 +0100 (CET) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:c448:5c9f:5d50:ad45]) by xavier.telenet-ops.be with cmsmtp id 9llV2E0075P95W301llVqD; Wed, 05 Feb 2025 10:45:29 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.97) (envelope-from ) id 1tfby9-0000000Fsdg-0FV9; Wed, 05 Feb 2025 10:45:29 +0100 Received: from geert by rox.of.borg with local (Exim 4.97) (envelope-from ) id 1tfbyL-00000006KEx-0aUG; Wed, 05 Feb 2025 10:45:29 +0100 From: Geert Uytterhoeven To: Ulf Hansson Cc: linux-renesas-soc@vger.kernel.org, linux-pm@vger.kernel.org, Geert Uytterhoeven , Saravana Kannan Subject: [PATCH v2] pmdomain: renesas: rcar-sysc: Drop fwnode_dev_initialized() call Date: Wed, 5 Feb 2025 10:45:28 +0100 Message-ID: <05c2ef630694a28b560426d8c426881cc14e8f7c.1738748678.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-pm@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 As of commit bab2d712eeaf9d60 ("PM: domains: Mark fwnodes when their powerdomain is added/removed") in v5.12, the pmdomain core takes care of marking the fwnode initialized, so there is no need to repeat it. Signed-off-by: Geert Uytterhoeven Acked-by: Saravana Kannan --- v2: - Add Acked-by. --- drivers/pmdomain/renesas/rcar-sysc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/pmdomain/renesas/rcar-sysc.c b/drivers/pmdomain/renesas/rcar-sysc.c index b99326917330f5f1..dce1a6d37e80127d 100644 --- a/drivers/pmdomain/renesas/rcar-sysc.c +++ b/drivers/pmdomain/renesas/rcar-sysc.c @@ -434,8 +434,6 @@ static int __init rcar_sysc_pd_init(void) } error = of_genpd_add_provider_onecell(np, &domains->onecell_data); - if (!error) - fwnode_dev_initialized(of_fwnode_handle(np), true); out_put: of_node_put(np);