[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1469295673.14838.4.camel@sysprog.at>
Date: Sat, 23 Jul 2016 19:41:13 +0200
From: Bernd Petrovitsch <bernd@...prog.at>
To: Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>,
lee.jones@...aro.org
Cc: patches@...nsource.wolfsonmicro.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mfd: arizona: Remove pointless switch case
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
Powered by blists - more mailing lists