Commit 862d3098 authored by Magnus Damm's avatar Magnus Damm Committed by Simon Horman

irqchip: intc-irqpin: Whitespace fixes

Remove whitespace damage and add newline
between variables and code.
Signed-off-by: default avatarMagnus Damm <damm@opensource.se>
Reviewed-by: default avatarThomas Gleixner <tglx@linutronix.de>
Tested-by: default avatarGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: default avatarSimon Horman <horms+renesas@verge.net.au>
parent 8e56e6d5
...@@ -57,13 +57,13 @@ struct intc_irqpin_iomem { ...@@ -57,13 +57,13 @@ struct intc_irqpin_iomem {
unsigned long (*read)(void __iomem *iomem); unsigned long (*read)(void __iomem *iomem);
void (*write)(void __iomem *iomem, unsigned long data); void (*write)(void __iomem *iomem, unsigned long data);
int width; int width;
}; };
struct intc_irqpin_irq { struct intc_irqpin_irq {
int hw_irq; int hw_irq;
int irq; int irq;
struct intc_irqpin_priv *p; struct intc_irqpin_priv *p;
}; };
struct intc_irqpin_priv { struct intc_irqpin_priv {
struct intc_irqpin_iomem iomem[INTC_IRQPIN_REG_NR]; struct intc_irqpin_iomem iomem[INTC_IRQPIN_REG_NR];
...@@ -99,6 +99,7 @@ static inline unsigned long intc_irqpin_read(struct intc_irqpin_priv *p, ...@@ -99,6 +99,7 @@ static inline unsigned long intc_irqpin_read(struct intc_irqpin_priv *p,
int reg) int reg)
{ {
struct intc_irqpin_iomem *i = &p->iomem[reg]; struct intc_irqpin_iomem *i = &p->iomem[reg];
return i->read(i->iomem); return i->read(i->iomem);
} }
...@@ -106,6 +107,7 @@ static inline void intc_irqpin_write(struct intc_irqpin_priv *p, ...@@ -106,6 +107,7 @@ static inline void intc_irqpin_write(struct intc_irqpin_priv *p,
int reg, unsigned long data) int reg, unsigned long data)
{ {
struct intc_irqpin_iomem *i = &p->iomem[reg]; struct intc_irqpin_iomem *i = &p->iomem[reg];
i->write(i->iomem, data); i->write(i->iomem, data);
} }
...@@ -405,7 +407,7 @@ static int intc_irqpin_probe(struct platform_device *pdev) ...@@ -405,7 +407,7 @@ static int intc_irqpin_probe(struct platform_device *pdev)
dev_warn(&pdev->dev, "irq base mismatch (%d/%d)\n", dev_warn(&pdev->dev, "irq base mismatch (%d/%d)\n",
p->config.irq_base, k); p->config.irq_base, k);
} }
return 0; return 0;
err3: err3:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment