Messages in this thread | | | Subject | Re: [PATCH] mfd: arizona: Remove pointless switch case | From | Bernd Petrovitsch <> | Date | Sat, 23 Jul 2016 19:41:13 +0200 |
| |
Hi all!
On Fri, 2016-07-22 at 16:58 +0100, Charles Keepax wrote: [...] > case IRQF_TRIGGER_RISING: > case IRQF_TRIGGER_FALLING: > break; > - > - case IRQ_TYPE_NONE: > default:
Don't know about the kernels coding rule in that case but personally, I use that style to explicit list all enum/#define values so that it is obvious that none was forgotten. For the compiler output, it shouldn't matter anyways ...
MfG, Bernd -- mobile: +43 664 4416156 http://www.sysprog.at/ Linux Software Development, Consulting and Services
| |