Skip to contentSkip to conversation

thermal/drivers/rockchip: use devm_reset_control_array_get_exclusive()

PATCH Applied [email protected] 3 participants 3 messages Mar 24, 2023 – Mar 30, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 thermal/drivers/rockchip: use devm_reset_control_array_get_exclusive()

From: Ye Xingchen <[email protected]>

Switch devm_reset_control_array_get() to
devm_reset_control_array_get_exclusive().

---
 drivers/thermal/rockchip_thermal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/thermal/rockchip_thermal.c +1 -1
index bb254bdff043..85df34417159 100644
@@ -1378,7 +1378,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_exclusive(&pdev->dev);
 	if (IS_ERR(thermal->reset)) {
 		error = PTR_ERR(thermal->reset);
 		dev_err(&pdev->dev, "failed to get tsadc reset: %d\n", error);
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · On Fr, 2023-03-24 at 11:08 +0800, [email protected] wrote:

From: Ye Xingchen <[email protected]>

Switch devm_reset_control_array_get() to
devm_reset_control_array_get_exclusive().

regards
Philipp

_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip

#2 lore raw
In reply to [email protected]
Quoted 7 lines · On 24/03/2023 04:08, [email protected] wrote:

From: Ye Xingchen <[email protected]>

Switch devm_reset_control_array_get() to
devm_reset_control_array_get_exclusive().

---

Applied, thanks

Signature · 11 lines
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


_______________________________________________
Linux-rockchip mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-rockchip