pinctrl: sunxi: Fix variable assignment syntax
authorMaxime Ripard <maxime.ripard@bootlin.com>
Thu, 14 Mar 2019 19:32:52 +0000 (20:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 4 Apr 2019 03:54:55 +0000 (10:54 +0700)
Lines are usually ended with a semi-column in C, yet this was copied from a
structure declaration to the init variant while keeping the comma at the
end. Make sure we have a normal syntax, instead of multiple assignments.

Fixes: d83c82ce7ccd ("pinctrl: sunxi: support multiple pin controller")
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/sunxi/pinctrl-sunxi.c

index 78a30f7..96490de 100644 (file)
@@ -1450,16 +1450,16 @@ int sunxi_pinctrl_init_with_variant(struct platform_device *pdev,
 
        last_pin = pctl->desc->pins[pctl->desc->npins - 1].pin.number;
        pctl->chip->owner = THIS_MODULE;
-       pctl->chip->request = gpiochip_generic_request,
-       pctl->chip->free = gpiochip_generic_free,
-       pctl->chip->direction_input = sunxi_pinctrl_gpio_direction_input,
-       pctl->chip->direction_output = sunxi_pinctrl_gpio_direction_output,
-       pctl->chip->get = sunxi_pinctrl_gpio_get,
-       pctl->chip->set = sunxi_pinctrl_gpio_set,
-       pctl->chip->of_xlate = sunxi_pinctrl_gpio_of_xlate,
-       pctl->chip->to_irq = sunxi_pinctrl_gpio_to_irq,
-       pctl->chip->of_gpio_n_cells = 3,
-       pctl->chip->can_sleep = false,
+       pctl->chip->request = gpiochip_generic_request;
+       pctl->chip->free = gpiochip_generic_free;
+       pctl->chip->direction_input = sunxi_pinctrl_gpio_direction_input;
+       pctl->chip->direction_output = sunxi_pinctrl_gpio_direction_output;
+       pctl->chip->get = sunxi_pinctrl_gpio_get;
+       pctl->chip->set = sunxi_pinctrl_gpio_set;
+       pctl->chip->of_xlate = sunxi_pinctrl_gpio_of_xlate;
+       pctl->chip->to_irq = sunxi_pinctrl_gpio_to_irq;
+       pctl->chip->of_gpio_n_cells = 3;
+       pctl->chip->can_sleep = false;
        pctl->chip->ngpio = round_up(last_pin, PINS_PER_BANK) -
                            pctl->desc->pin_base;
        pctl->chip->label = dev_name(&pdev->dev);