gpio: ge: Remove duplicate assignment of of_gpio_n_cells
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 12 Jan 2023 16:39:05 +0000 (18:39 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 30 Jan 2023 14:55:30 +0000 (15:55 +0100)
commit83b9e0fc9ed6129aeb1ac18bee85f17fa32e91e2
treea25fe2dff847adc1de465fb38e0b3cb825cf0f27
parente226cb199c3d5bde57a4439cdc0360d900270816
gpio: ge: 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>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-ge.c