1
0
Fork 0

gpio: 104-idi-48: improve code indentation

Address code indentation warning messages by checkpatch script. Combine
split function parameters on one line. This also resolves the "use tabs
instead of space" warning by checkpatch script.

Signed-off-by: Deepak R Varma <mh12gx2825@gmail.com>

Link: https://lore.kernel.org/r/20201013190212.GA85788@ubuntu204
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
zero-sugar-mainline-defconfig
Deepak R Varma 2020-10-14 00:32:12 +05:30 committed by Linus Walleij
parent 8aa1633505
commit b9bf97105f
1 changed files with 2 additions and 4 deletions

View File

@ -132,8 +132,7 @@ static void idi_48_irq_mask(struct irq_data *data)
outb(idi48gpio->cos_enb, idi48gpio->base + 7);
raw_spin_unlock_irqrestore(&idi48gpio->lock,
flags);
raw_spin_unlock_irqrestore(&idi48gpio->lock, flags);
}
return;
@ -166,8 +165,7 @@ static void idi_48_irq_unmask(struct irq_data *data)
outb(idi48gpio->cos_enb, idi48gpio->base + 7);
raw_spin_unlock_irqrestore(&idi48gpio->lock,
flags);
raw_spin_unlock_irqrestore(&idi48gpio->lock, flags);
}
return;