iwlwifi: mei: clear the ownership when the driver goes down
[linux-2.6-block.git] / drivers / thermal / rockchip_thermal.c
index 657d84b9963ec71e96750709afde4b5b251373c9..dc3a9c276a09bcbca86e18dc9ef530ec31d8df10 100644 (file)
@@ -1383,7 +1383,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_get(&pdev->dev, "tsadc-apb");
+       thermal->reset = devm_reset_control_array_get(&pdev->dev, false, false);
        if (IS_ERR(thermal->reset)) {
                error = PTR_ERR(thermal->reset);
                dev_err(&pdev->dev, "failed to get tsadc reset: %d\n", error);