staging: gpio: 104-idi-48: improve code indentation
Subsystems (2)
PATCH 1/1 staging: 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.
---
drivers/gpio/gpio-104-idi-48.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)
drivers/gpio/gpio-104-idi-48.c +2 -4
@@ -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 ;
Signature · 1 line
2.25.1
Quoted 9 lines · Deepak R Varma
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 <[email protected]>---
drivers/gpio/gpio-104-idi-48.c | 6 ++----
Your subject line is incorrect based on the file you changed :(
Quoted 5 lines · Deepak R Varma
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 <[email protected]>
As Greg KH mentioned, the subject line should be fixed; as for the change itself, it looks like pretty innocent whitespace adjustments, so I'm okay with it. :-)
Quoted 33 lines
---
drivers/gpio/gpio-104-idi-48.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-)drivers/gpio/gpio-104-idi-48.c +2
-4@@ -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 ;Signature · 1 line
2.25.1