From patchwork Thu Mar 6 17:09:13 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Biju Das X-Patchwork-Id: 14004983 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 4227025CC9B for ; Thu, 6 Mar 2025 17:09:40 +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=1741280982; cv=none; b=oZJnDIg8CasgMloOAIkEjDYcvx5NhBJmo7OQokEkArYEoUr7a/sSDJNbJf+aJcVvrad/5HbugUbza/dcJbaE00lAvQ6zvANUOc5uCg5GQBKXxW0fPIF1llB38vnrQXN2btY1qLMIWcHtRBo1cVj2h1n2nAN+I4N24w7nZ/m7sx4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741280982; c=relaxed/simple; bh=9edTabE1KbtMXA/jCUu47UoExaEkmqYvdLsfnH67Ubo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cas2JFtGZl6mLTgFcqM/wNLmu3pGV6qLtdkLXfFis10maFjag21m7N3c/vKcwGYkOdXr1fjpjc/JmkJMrHl3jISbUhV35+nYkF3K2w5rsS+XiNdb0FG75hGnsxfeDWw6Os5wVQ+rDjqh5aajeKUIMZ2rh82Tkfw08EHutQwjSRI= 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: 362Fsf4YSG+vpXxq0pduCg== X-CSE-MsgGUID: KaXRl/NmT/iwg5WLdYqLZg== Received: from unknown (HELO relmlir5.idc.renesas.com) ([10.200.68.151]) by relmlie5.idc.renesas.com with ESMTP; 07 Mar 2025 02:09:40 +0900 Received: from localhost.localdomain (unknown [10.226.92.10]) by relmlir5.idc.renesas.com (Postfix) with ESMTP id D707640031E1; Fri, 7 Mar 2025 02:09: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 v2 3/8] memory: renesas-rpc-if: Use devm_reset_control_array_get_exclusive() Date: Thu, 6 Mar 2025 17:09:13 +0000 Message-ID: <20250306170924.241257-4-biju.das.jz@bp.renesas.com> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250306170924.241257-1-biju.das.jz@bp.renesas.com> References: <20250306170924.241257-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 --- 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);