Skip to content

Commit

Permalink
gpio: 104-idi-48: improve code indentation
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Deepak R Varma authored and Linus Walleij committed Oct 29, 2020
1 parent 8aa1633 commit b9bf971
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions drivers/gpio/gpio-104-idi-48.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit b9bf971

Please sign in to comment.