[PATCH v3 1/3] regulator: Add regulator_bulk_get_all
Mark Brown
broonie at kernel.org
Mon May 23 06:17:14 PDT 2022
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20220523/c8e8185e/attachment.sig>
More information about the linux-arm-kernel
mailing list