|
@@ -937,7 +937,6 @@ static int max8997_pmic_dt_parse_pdata(struct platform_device *pdev,
|
|
pdata->num_regulators, GFP_KERNEL);
|
|
pdata->num_regulators, GFP_KERNEL);
|
|
if (!rdata) {
|
|
if (!rdata) {
|
|
of_node_put(regulators_np);
|
|
of_node_put(regulators_np);
|
|
- dev_err(&pdev->dev, "could not allocate memory for regulator data\n");
|
|
|
|
return -ENOMEM;
|
|
return -ENOMEM;
|
|
}
|
|
}
|
|
|
|
|