[PATCH 01/05] irqchip: intc-irqpin: Whitespace fixes

From: Magnus Damm
Date: Tue Feb 26 2013 - 06:53:12 EST


From: Magnus Damm <damm@xxxxxxxxxxxxx>

Remove whitespace damage and add newline
between variables and code.

Signed-off-by: Magnus Damm <damm@xxxxxxxxxxxxx>
---

Thanks to Simon Horman and Thomas Gleixner for feedback.

drivers/irqchip/irq-renesas-intc-irqpin.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)

--- 0002/drivers/irqchip/irq-renesas-intc-irqpin.c
+++ work/drivers/irqchip/irq-renesas-intc-irqpin.c 2013-02-26 19:01:12.000000000 +0900
@@ -57,13 +57,13 @@ struct intc_irqpin_iomem {
unsigned long (*read)(void __iomem *iomem);
void (*write)(void __iomem *iomem, unsigned long data);
int width;
-};
+};

struct intc_irqpin_irq {
int hw_irq;
int irq;
struct intc_irqpin_priv *p;
-};
+};

struct intc_irqpin_priv {
struct intc_irqpin_iomem iomem[INTC_IRQPIN_REG_NR];
@@ -99,6 +99,7 @@ static inline unsigned long intc_irqpin_
int reg)
{
struct intc_irqpin_iomem *i = &p->iomem[reg];
+
return i->read(i->iomem);
}

@@ -106,6 +107,7 @@ static inline void intc_irqpin_write(str
int reg, unsigned long data)
{
struct intc_irqpin_iomem *i = &p->iomem[reg];
+
i->write(i->iomem, data);
}

@@ -405,7 +407,7 @@ static int intc_irqpin_probe(struct plat
dev_warn(&pdev->dev, "irq base mismatch (%d/%d)\n",
p->config.irq_base, k);
}
-
+
return 0;

err3:
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/