Re: [PATCH v5 3/4] regulator: mpq7920: add mpq7920 regulator driver
From: Mark Brown
Date: Wed Jan 08 2020 - 10:51:00 EST
On Wed, Jan 08, 2020 at 02:12:33PM +0100, Saravanan Sekar wrote:
> + for_each_child_of_node(np, child) {
> + for (i = 0; i <= MPQ7920_BUCK4; i++) {
> + struct regulator_desc *rdesc = &info->rdesc[i];
> +
> + if (strcmp(rdesc->name, child->name))
> + continue;
You can replace this loop with an of_parse_cb callback, please send an
incremental patch doing this.
Attachment:
signature.asc
Description: PGP signature