pinctrl: sunplus: sppctl: Remove duplicate assignment of of_gpio_n_cells
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Jan 2023 18:51:22 +0000 (20:51 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 16 Jan 2023 14:03:08 +0000 (15:03 +0100)
commitef4290e6bd99149d21c99bb4905c61f8c94a05ca
tree6e748e680e74616a953f2d49dd6f818af31ced48
parenta3fc976a2d68cb74ae4234314002e4e398e4c337
pinctrl: sunplus: sppctl: Remove duplicate assignment of of_gpio_n_cells

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@linux.intel.com>
Link: https://lore.kernel.org/r/20230112185122.45216-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunplus/sppctl.c