Skip to content

Commit fee5cae

Browse files
Ye Xingchendlezcano
authored andcommitted
thermal/drivers/rockchip: use devm_reset_control_array_get_exclusive()
Switch devm_reset_control_array_get() to devm_reset_control_array_get_exclusive(). Signed-off-by: Ye Xingchen <ye.xingchen@zte.com.cn> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/202303241108553006227@zte.com.cn
1 parent c3d2718 commit fee5cae

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/thermal/rockchip_thermal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1543,7 +1543,7 @@ static int rockchip_thermal_probe(struct platform_device *pdev)
15431543
if (IS_ERR(thermal->regs))
15441544
return PTR_ERR(thermal->regs);
15451545

1546-
thermal->reset = devm_reset_control_array_get(&pdev->dev, false, false);
1546+
thermal->reset = devm_reset_control_array_get_exclusive(&pdev->dev);
15471547
if (IS_ERR(thermal->reset))
15481548
return dev_err_probe(&pdev->dev, PTR_ERR(thermal->reset),
15491549
"failed to get tsadc reset.\n");

0 commit comments

Comments
 (0)