Commit e90c636b authored by Laurent Navet's avatar Laurent Navet Committed by Linus Walleij

gpio: gpio-tc3589x.c: fix checkpatch errors

Fix :
 gpio/gpio-tc3589x.c:285: ERROR: code indent should use tabs where possible
 gpio/gpio-tc3589x.c:286: ERROR: code indent should use tabs where possible
 gpio/gpio-tc3589x.c:287: ERROR: code indent should use tabs where possible
 gpio/gpio-tc3589x.c:347: ERROR: code indent should use tabs where possible
Signed-off-by: default avatarLaurent Navet <laurent.navet@gmail.com>
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 8ab2a6d2
...@@ -282,9 +282,9 @@ static void tc3589x_gpio_irq_unmap(struct irq_domain *d, unsigned int virq) ...@@ -282,9 +282,9 @@ static void tc3589x_gpio_irq_unmap(struct irq_domain *d, unsigned int virq)
} }
static struct irq_domain_ops tc3589x_irq_ops = { static struct irq_domain_ops tc3589x_irq_ops = {
.map = tc3589x_gpio_irq_map, .map = tc3589x_gpio_irq_map,
.unmap = tc3589x_gpio_irq_unmap, .unmap = tc3589x_gpio_irq_unmap,
.xlate = irq_domain_xlate_twocell, .xlate = irq_domain_xlate_twocell,
}; };
static int tc3589x_gpio_irq_init(struct tc3589x_gpio *tc3589x_gpio, static int tc3589x_gpio_irq_init(struct tc3589x_gpio *tc3589x_gpio,
...@@ -344,7 +344,7 @@ static int tc3589x_gpio_probe(struct platform_device *pdev) ...@@ -344,7 +344,7 @@ static int tc3589x_gpio_probe(struct platform_device *pdev)
tc3589x_gpio->chip.base = (pdata) ? pdata->gpio_base : -1; tc3589x_gpio->chip.base = (pdata) ? pdata->gpio_base : -1;
#ifdef CONFIG_OF_GPIO #ifdef CONFIG_OF_GPIO
tc3589x_gpio->chip.of_node = np; tc3589x_gpio->chip.of_node = np;
#endif #endif
tc3589x_gpio->irq_base = tc3589x->irq_base ? tc3589x_gpio->irq_base = tc3589x->irq_base ?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment