From patchwork Tue Mar 11 11:36:10 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 14011553 X-Patchwork-Delegate: geert@linux-m68k.org Received: from relmlie5.idc.renesas.com (relmlor1.renesas.com [210.160.252.171]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DF3942343C1 for ; Tue, 11 Mar 2025 11:36:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.160.252.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741693003; cv=none; b=T4trOE0/AHKULF9WlhKgAo5GrAYiLy+LU1D7C1UNchAt+IuQ1J/KDPVFkQCdnJpP9MtwGNJXE5gMm2oXwAvL2ceVO7NbNgeBte69YLNPUfFHWwHjlorKa/dWZOfSdB7zReqv4wQYCUn2/PEln/A380Nq6jeAgU+dHS6j4du5fJU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741693003; c=relaxed/simple; bh=nNG7Zw4zeZ7XbZHAN3Ba/+CLzh+kp6A2LIKoHYEReoQ=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VQWF+wAwhtnFE4+5TdD8Tt2DmW48PCNo1ns8S3sUapqoDE6rkJtvC5unIanlklYxN3K2/TdxierTJrr3eFt1cB/f0ukunWHxaRMLcPLgLsaaibP+cR65rYB0/oe1itS+k1e6W3h1oi6YKNBQp//hODEYJHC4RmxWt07kvWnbxrU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com; spf=pass smtp.mailfrom=bp.renesas.com; arc=none smtp.client-ip=210.160.252.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=bp.renesas.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bp.renesas.com X-CSE-ConnectionGUID: 9/3/6sZOQAeIvSCgbshLkQ== X-CSE-MsgGUID: Jg7NfX8vTgeoCqNWrlpWCw== Received: from unknown (HELO relmlir6.idc.renesas.com) ([10.200.68.152]) by relmlie5.idc.renesas.com with ESMTP; 11 Mar 2025 20:36:40 +0900 Received: from localhost.localdomain (unknown [10.226.92.227]) by relmlir6.idc.renesas.com (Postfix) with ESMTP id 18BED42AA21B; Tue, 11 Mar 2025 20:36:37 +0900 (JST) From: Biju Das To: Krzysztof Kozlowski , Philipp Zabel Cc: Biju Das , Geert Uytterhoeven , Mark Brown , Prabhakar Mahadev Lad , Biju Das , linux-renesas-soc@vger.kernel.org Subject: [PATCH v3 4/9] memory: renesas-rpc-if: Use devm_reset_control_array_get_exclusive() Date: Tue, 11 Mar 2025 11:36:10 +0000 Message-ID: <20250311113620.4312-5-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250311113620.4312-1-biju.das.jz@bp.renesas.com> References: <20250311113620.4312-1-biju.das.jz@bp.renesas.com> Precedence: bulk X-Mailing-List: linux-renesas-soc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Replace devm_*_get_exclusive()->devm_*_array_get_exclusive() to support existing SoCs along with RZ/G3E as RZ/G3E has 2 resets. Signed-off-by: Biju Das --- v2->v3: * No change. v1->v2: * No change. --- drivers/memory/renesas-rpc-if.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/renesas-rpc-if.c b/drivers/memory/renesas-rpc-if.c index 20d1a6e4a500..ce03fbd82c7a 100644 --- a/drivers/memory/renesas-rpc-if.c +++ b/drivers/memory/renesas-rpc-if.c @@ -623,7 +623,7 @@ static int rpcif_probe(struct platform_device *pdev) rpc->size = resource_size(res); rpc->info = of_device_get_match_data(dev); - rpc->rstc = devm_reset_control_get_exclusive(dev, NULL); + rpc->rstc = devm_reset_control_array_get_exclusive(dev); if (IS_ERR(rpc->rstc)) return PTR_ERR(rpc->rstc);