From 70e221d140ef7b25d732ea31fa302fd33e5d7552 Mon Sep 17 00:00:00 2001 From: Finley Xiao Date: Thu, 12 Jun 2025 11:42:29 +0800 Subject: [PATCH] thermal: rockchip: Make reset optional Change-Id: I057a53e65d083a8ea24f0727bd0f73545482f2de Signed-off-by: Finley Xiao --- drivers/thermal/rockchip_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index 0defdbc3ff59..7b8746404a9f 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -2687,7 +2687,7 @@ static int rockchip_thermal_probe(struct platform_device *pdev) if (IS_ERR(thermal->regs)) return PTR_ERR(thermal->regs); - thermal->reset = devm_reset_control_array_get(&pdev->dev, false, false); + thermal->reset = devm_reset_control_array_get_optional_exclusive(&pdev->dev); if (IS_ERR(thermal->reset)) { if (PTR_ERR(thermal->reset) != -EPROBE_DEFER) dev_err(&pdev->dev, "failed to get tsadc reset lines\n");