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

From: Mark Brown
Date: Mon May 23 2022 - 09:17:40 EST


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: signature.asc
Description: PGP signature