Merge "ais: cam_soc_api: Moved the Debug statement to the if-condition"
This commit is contained in:
commit
8fae8eaa4f
1 changed files with 2 additions and 1 deletions
|
@ -670,9 +670,10 @@ void msm_camera_put_regulators(struct platform_device *pdev,
|
|||
}
|
||||
|
||||
for (i = cnt - 1; i >= 0; i--) {
|
||||
if (vdd_info[i] && !IS_ERR_OR_NULL(vdd_info[i]->vdd))
|
||||
if (vdd_info[i] && !IS_ERR_OR_NULL(vdd_info[i]->vdd)) {
|
||||
devm_regulator_put(vdd_info[i]->vdd);
|
||||
CDBG("vdd ptr[%d] :%pK\n", i, vdd_info[i]->vdd);
|
||||
}
|
||||
}
|
||||
|
||||
devm_kfree(&pdev->dev, *vdd_info);
|
||||
|
|
Loading…
Add table
Reference in a new issue