Re: [PATCH v3 1/3] regulator: Add regulator_bulk_get_all

Mark Brown
2022-05-23T13:17:40Z

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

On Mon, May 23, 2022 at 05:28:05AM +0000, Corentin Labbe wrote:

> + *consumers = NULL;
> +
> +/*
> + * first pass: get numbers of xxx-supply
> + * second pass: fill consumers
> + * */
> +restart:

Please fix the identation of this comment so it looks less like an
error. TBH I'm not sure it isn't easier to just use krealloc() and have
one loop here, or just write two separate loops given how little is
shared.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]