diff options
author | Lee Jones <lee.jones@linaro.org> | 2014-07-21 09:16:23 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-07-25 10:31:41 -0400 |
commit | a5c5accfc291427eee7d44d25a1dcbf98766adfa (patch) | |
tree | a02673aa2ef20cb0838a1896c107fcb05d4bac84 /drivers/mfd/max8925-core.c | |
parent | 04aa4438c01938df30ffe26f72cef0cbd0a34f6e (diff) |
mfd: max8925-core: 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 max8925_chip *chip = irq_data_get_irq_chip_data(data);
+ max8925_irqs[data->irq - chip->irq_base].enable
WARNING: Missing a blank line after declarations
+ struct max8925_chip *chip = irq_data_get_irq_chip_data(data);
+ max8925_irqs[data->irq - chip->irq_base].enable = 0;
total: 0 errors, 2 warnings, 927 lines checked
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/max8925-core.c')
-rw-r--r-- | drivers/mfd/max8925-core.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mfd/max8925-core.c b/drivers/mfd/max8925-core.c index f3faf0c45ddd..97a787ab3d51 100644 --- a/drivers/mfd/max8925-core.c +++ b/drivers/mfd/max8925-core.c | |||
@@ -624,6 +624,7 @@ static void max8925_irq_sync_unlock(struct irq_data *data) | |||
624 | static void max8925_irq_enable(struct irq_data *data) | 624 | static void max8925_irq_enable(struct irq_data *data) |
625 | { | 625 | { |
626 | struct max8925_chip *chip = irq_data_get_irq_chip_data(data); | 626 | struct max8925_chip *chip = irq_data_get_irq_chip_data(data); |
627 | |||
627 | max8925_irqs[data->irq - chip->irq_base].enable | 628 | max8925_irqs[data->irq - chip->irq_base].enable |
628 | = max8925_irqs[data->irq - chip->irq_base].offs; | 629 | = max8925_irqs[data->irq - chip->irq_base].offs; |
629 | } | 630 | } |
@@ -631,6 +632,7 @@ static void max8925_irq_enable(struct irq_data *data) | |||
631 | static void max8925_irq_disable(struct irq_data *data) | 632 | static void max8925_irq_disable(struct irq_data *data) |
632 | { | 633 | { |
633 | struct max8925_chip *chip = irq_data_get_irq_chip_data(data); | 634 | struct max8925_chip *chip = irq_data_get_irq_chip_data(data); |
635 | |||
634 | max8925_irqs[data->irq - chip->irq_base].enable = 0; | 636 | max8925_irqs[data->irq - chip->irq_base].enable = 0; |
635 | } | 637 | } |
636 | 638 | ||