Re: [PATCH v4 03/14] regulator: of: Add regulator desc param to of_get_regulator_init_data()
From: Mark Brown
Date: Mon Nov 03 2014 - 10:34:49 EST
On Mon, Nov 03, 2014 at 03:40:38PM +0100, Javier Martinez Canillas wrote:
> for_each_child_of_node(nproot, np) {
> if (!of_node_cmp(np->name, info->desc.name)) {
> config->init_data =
> - of_get_regulator_init_data(&pdev->dev, np);
> + of_get_regulator_init_data(&pdev->dev, np,
> + NULL);
This looks buggy, we're not passing in a descriptor.
Attachment:
signature.asc
Description: Digital signature