public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Bernd Petrovitsch <bernd@sysprog.at>
To: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>,
	lee.jones@linaro.org
Cc: patches@opensource.wolfsonmicro.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mfd: arizona: Remove pointless switch case
Date: Sat, 23 Jul 2016 19:41:13 +0200	[thread overview]
Message-ID: <1469295673.14838.4.camel@sysprog.at> (raw)
In-Reply-To: <1469203133-21491-1-git-send-email-ckeepax@opensource.wolfsonmicro.com>

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

  reply	other threads:[~2016-07-23 18:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-22 15:58 [PATCH] mfd: arizona: Remove pointless switch case Charles Keepax
2016-07-23 17:41 ` Bernd Petrovitsch [this message]
2016-08-08  8:09   ` Charles Keepax

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1469295673.14838.4.camel@sysprog.at \
    --to=bernd@sysprog.at \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@opensource.wolfsonmicro.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox