[PATCH v1 1/1] pinctrl: mediatek: Remove duplicate assignment of of_gpio_n_cells

Linus Walleij linus.walleij at linaro.org
Mon Jan 16 06:01:50 PST 2023


On Thu, Jan 12, 2023 at 7:43 PM Andy Shevchenko
<andriy.shevchenko at linux.intel.com> wrote:

> The of_gpio_n_cells default is 2 when ->of_xlate() callback is
> not defined. No need to assign it explicitly in the driver.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko at linux.intel.com>

Patch applied!

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list