Skip to content

Commit a25d1df

Browse files
andy-shevBartosz Golaszewski
authored andcommitted
gpio: zevio: 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 <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]>
1 parent 13e856b commit a25d1df

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/gpio/gpio-zevio.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ static const struct gpio_chip zevio_gpio_chip = {
162162
.base = 0,
163163
.owner = THIS_MODULE,
164164
.ngpio = 32,
165-
.of_gpio_n_cells = 2,
166165
};
167166

168167
/* Initialization */

0 commit comments

Comments
 (0)