regulator: of: Add regulator desc param to of_get_regulator_init_data()
[deliverable/linux.git] / drivers / regulator / ti-abb-regulator.c
index a2dabb575b97d6260837da1deca24e821accc4f0..1ef5aba96f1719c4b7b575eedb112c519893c7d6 100644 (file)
@@ -837,7 +837,8 @@ skip_opt:
                return -EINVAL;
        }
 
-       initdata = of_get_regulator_init_data(dev, pdev->dev.of_node);
+       initdata = of_get_regulator_init_data(dev, pdev->dev.of_node,
+                                             &abb->rdesc);
        if (!initdata) {
                dev_err(dev, "%s: Unable to alloc regulator init data\n",
                        __func__);
This page took 0.024757 seconds and 5 git commands to generate.