mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
8aa1633505
commit
b9bf97105f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue