regulator: max77686: Remove redundant error message
[firefly-linux-kernel-4.4.55.git] / drivers / regulator / max77686.c
index b411af00065d70d024cc067ac4c336ab4d6c865f..de020adf0568431a0c60a0202b9ab032335ff8e1 100644 (file)
@@ -410,8 +410,6 @@ static int max77686_pmic_dt_parse_pdata(struct platform_device *pdev,
        rdata = devm_kzalloc(&pdev->dev, sizeof(*rdata) *
                             pdata->num_regulators, GFP_KERNEL);
        if (!rdata) {
-               dev_err(&pdev->dev,
-                       "could not allocate memory for regulator data\n");
                of_node_put(regulators_np);
                return -ENOMEM;
        }