thermal: mtk_thermal: make device_reset optional
[sfrench/cifs-2.6.git] / drivers / thermal / mtk_thermal.c
index 0bd7aa564bc25cc6d9d9303c59a6d9f0f8b5986b..149c6d7fd5a076e67d36f255514f832aad28af1d 100644 (file)
@@ -1052,7 +1052,7 @@ static int mtk_thermal_probe(struct platform_device *pdev)
                return -EINVAL;
        }
 
-       ret = device_reset(&pdev->dev);
+       ret = device_reset_optional(&pdev->dev);
        if (ret)
                return ret;