Commit 52149ad2 authored by Lee Jones's avatar Lee Jones

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: default avatarLee Jones <lee.jones@linaro.org>
parent 0309528a
...@@ -66,12 +66,14 @@ static inline u8 _irq_to_val(enum lp8788_int_id id, int enable) ...@@ -66,12 +66,14 @@ static inline u8 _irq_to_val(enum lp8788_int_id id, int enable)
static void lp8788_irq_enable(struct irq_data *data) static void lp8788_irq_enable(struct irq_data *data)
{ {
struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data);
irqd->enabled[data->hwirq] = 1; irqd->enabled[data->hwirq] = 1;
} }
static void lp8788_irq_disable(struct irq_data *data) static void lp8788_irq_disable(struct irq_data *data)
{ {
struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data); struct lp8788_irq_data *irqd = irq_data_get_irq_chip_data(data);
irqd->enabled[data->hwirq] = 0; irqd->enabled[data->hwirq] = 0;
} }
......
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