Convert drivers to use grp member embedded in struct group_desc,
because other members will be removed to avoid duplication and
desynchronisation of the generic pin group description.
Tested-by: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231211190321.307330-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
 
        if (!group)
                return -EINVAL;
 
-       for (i = 0; i < group->num_pins; i++)
-               unset |= BIT(group->pins[i]);
+       for (i = 0; i < group->grp.npins; i++)
+               unset |= BIT(group->grp.pins[i]);
 
        tmp = readl(ns_pinctrl->base);
        tmp &= ~unset;