[PATCH] mfd: arizona: Remove pointless switch case

From: Charles Keepax
Date: Fri Jul 22 2016 - 11:58:51 EST


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@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
---
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