aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2014-07-21 08:44:01 -0400
committerLee Jones <lee.jones@linaro.org>2014-07-25 10:31:39 -0400
commit52149ad265be7694f8afa21fb9af8a5fbf01b1a5 (patch)
treebebb4c0c2567784ca38536502ebe37f091136810 /drivers/mfd
parent0309528aae8ac0a4d7b32428f6a7debc84becc9c (diff)
mfd: lp8788-irq: Fix 'missing blank line after declarations' warning
This is part of an effort to clean-up the MFD subsystem. WARNING: Missing a blank line after declarations + struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); + irqd->enabled[data->hwirq] = 1; WARNING: Missing a blank line after declarations + struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); + irqd->enabled[data->hwirq] = 0; total: 0 errors, 2 warnings, 198 lines checked Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/lp8788-irq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/lp8788-irq.c b/drivers/mfd/lp8788-irq.c
index c84ded5f8ece..23982dbf014d 100644
--- a/drivers/mfd/lp8788-irq.c
+++ b/drivers/mfd/lp8788-irq.c
@@ -66,12 +66,14 @@ static inline u8 _irq_to_val(enum lp8788_int_id id, int enable)
66static void lp8788_irq_enable(struct irq_data *data) 66static void lp8788_irq_enable(struct irq_data *data)
67{ 67{
68 struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); 68 struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data);
69
69 irqd->enabled[data->hwirq] = 1; 70 irqd->enabled[data->hwirq] = 1;
70} 71}
71 72
72static void lp8788_irq_disable(struct irq_data *data) 73static void lp8788_irq_disable(struct irq_data *data)
73{ 74{
74 struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); 75 struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data);
76
75 irqd->enabled[data->hwirq] = 0; 77 irqd->enabled[data->hwirq] = 0;
76} 78}
77 79