Messages in this thread Patch in this message | | | From | Charles Keepax <> | Subject | [PATCH] mfd: arizona: Remove pointless switch case | Date | Fri, 22 Jul 2016 16:58:53 +0100 |
| |
There is no point in having an explicit case that does nothing but falls through to the default, simply remove the redundant case.
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> --- drivers/mfd/arizona-irq.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/drivers/mfd/arizona-irq.c b/drivers/mfd/arizona-irq.c index 5e18d3c..e54aa55 100644 --- a/drivers/mfd/arizona-irq.c +++ b/drivers/mfd/arizona-irq.c @@ -286,8 +286,6 @@ int arizona_irq_init(struct arizona *arizona) case IRQF_TRIGGER_RISING: case IRQF_TRIGGER_FALLING: break; - - case IRQ_TYPE_NONE: default: /* Device default */ arizona->pdata.irq_flags = IRQF_TRIGGER_LOW; -- 2.1.4
| |