Re: [PATCH v4 03/14] regulator: of: Add regulator desc param to of_get_regulator_init_data()

Mark Brown
2014-11-03T15:34:46Z

[-- Attachment #1: Type: text/plain, Size: 369 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 473 bytes --]