gpio: tegra: Improve formatting of the code
authorDmitry Osipenko <digetx@gmail.com>
Fri, 22 Jan 2021 19:59:59 +0000 (22:59 +0300)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 15 Feb 2021 10:43:30 +0000 (11:43 +0100)
Don't cross 80 chars of line length in order to keep formatting of the
code consistent.

Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-tegra.c

index 6c79e9d..93f471d 100644 (file)
@@ -432,8 +432,10 @@ static void tegra_gpio_irq_handler(struct irq_desc *desc)
                chained_irq_exit(chip, desc);
 }
 
-static int tegra_gpio_child_to_parent_hwirq(struct gpio_chip *chip, unsigned int hwirq,
-                                           unsigned int type, unsigned int *parent_hwirq,
+static int tegra_gpio_child_to_parent_hwirq(struct gpio_chip *chip,
+                                           unsigned int hwirq,
+                                           unsigned int type,
+                                           unsigned int *parent_hwirq,
                                            unsigned int *parent_type)
 {
        *parent_hwirq = chip->irq.child_offset_to_irq(chip, hwirq);
@@ -442,7 +444,8 @@ static int tegra_gpio_child_to_parent_hwirq(struct gpio_chip *chip, unsigned int
        return 0;
 }
 
-static void *tegra_gpio_populate_parent_fwspec(struct gpio_chip *chip, unsigned int parent_hwirq,
+static void *tegra_gpio_populate_parent_fwspec(struct gpio_chip *chip,
+                                              unsigned int parent_hwirq,
                                               unsigned int parent_type)
 {
        struct irq_fwspec *fwspec;
@@ -570,7 +573,8 @@ static int tegra_gpio_irq_set_wake(struct irq_data *d, unsigned int enable)
 }
 #endif
 
-static int tegra_gpio_irq_set_affinity(struct irq_data *data, const struct cpumask *dest,
+static int tegra_gpio_irq_set_affinity(struct irq_data *data,
+                                      const struct cpumask *dest,
                                       bool force)
 {
        if (data->parent_data)
@@ -715,7 +719,8 @@ static int tegra_gpio_probe(struct platform_device *pdev)
        if (!tgi->bank_info)
                return -ENOMEM;
 
-       tgi->irqs = devm_kcalloc(&pdev->dev, tgi->bank_count, sizeof(*tgi->irqs), GFP_KERNEL);
+       tgi->irqs = devm_kcalloc(&pdev->dev, tgi->bank_count,
+                                sizeof(*tgi->irqs), GFP_KERNEL);
        if (!tgi->irqs)
                return -ENOMEM;