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