pinctrl: mediatek: Remove duplicate assignment of of_gpio_n_cells
[linux-2.6-microblaze.git] / drivers / pinctrl / mediatek / pinctrl-paris.c
index 475f417..17eead4 100644 (file)
@@ -987,7 +987,6 @@ static int mtk_build_gpiochip(struct mtk_pinctrl *hw)
        chip->set_config        = mtk_gpio_set_config;
        chip->base              = -1;
        chip->ngpio             = hw->soc->npins;
-       chip->of_gpio_n_cells   = 2;
 
        ret = gpiochip_add_data(chip, hw);
        if (ret < 0)