aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/xilinx_gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/xilinx_gpio.c')
-rw-r--r--drivers/gpio/xilinx_gpio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpio/xilinx_gpio.c b/drivers/gpio/xilinx_gpio.c
index 2993c40b48e1..709690995d0d 100644
--- a/drivers/gpio/xilinx_gpio.c
+++ b/drivers/gpio/xilinx_gpio.c
@@ -190,7 +190,6 @@ static int __devinit xgpio_of_probe(struct device_node *np)
190 190
191 spin_lock_init(&chip->gpio_lock); 191 spin_lock_init(&chip->gpio_lock);
192 192
193 chip->mmchip.gc.of_gpio_n_cells = 2;
194 chip->mmchip.gc.direction_input = xgpio_dir_in; 193 chip->mmchip.gc.direction_input = xgpio_dir_in;
195 chip->mmchip.gc.direction_output = xgpio_dir_out; 194 chip->mmchip.gc.direction_output = xgpio_dir_out;
196 chip->mmchip.gc.get = xgpio_get; 195 chip->mmchip.gc.get = xgpio_get;