From: lee.jones@linaro.org (Lee Jones)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] mfd: db8500-prcmu: Return early if the TCPM cannot be located
Date: Thu, 4 Apr 2013 11:05:39 +0100 [thread overview]
Message-ID: <20130404100539.GA8921@gmail.com> (raw)
In-Reply-To: <1365067877-29459-1-git-send-email-lee.jones@linaro.org>
On Thu, 04 Apr 2013, Lee Jones wrote:
> Currently we check to see if we obtained the Tightly Coupled Program
> Memory (TCPM) base and only execute the code within the check if we
> have it. It's more traditional to return early if we don't have it.
> This way we can flatten most of the function's code down to a single
> tab spacing.
>
> Cc: Samuel Ortiz <sameo@linux.intel.com>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
> drivers/mfd/db8500-prcmu.c | 40 +++++++++++++++++++++-------------------
> 1 file changed, 21 insertions(+), 19 deletions(-)
Withdrawn.
I'll resubmit.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org ? Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org
Cc: arnd@arndb.de, linus.walleij@stericsson.com,
Samuel Ortiz <sameo@linux.intel.com>
Subject: Re: [PATCH 1/2] mfd: db8500-prcmu: Return early if the TCPM cannot be located
Date: Thu, 4 Apr 2013 11:05:39 +0100 [thread overview]
Message-ID: <20130404100539.GA8921@gmail.com> (raw)
In-Reply-To: <1365067877-29459-1-git-send-email-lee.jones@linaro.org>
On Thu, 04 Apr 2013, Lee Jones wrote:
> Currently we check to see if we obtained the Tightly Coupled Program
> Memory (TCPM) base and only execute the code within the check if we
> have it. It's more traditional to return early if we don't have it.
> This way we can flatten most of the function's code down to a single
> tab spacing.
>
> Cc: Samuel Ortiz <sameo@linux.intel.com>
> Signed-off-by: Lee Jones <lee.jones@linaro.org>
> ---
> drivers/mfd/db8500-prcmu.c | 40 +++++++++++++++++++++-------------------
> 1 file changed, 21 insertions(+), 19 deletions(-)
Withdrawn.
I'll resubmit.
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2013-04-04 10:05 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-04 9:31 [PATCH 1/2] mfd: db8500-prcmu: Return early if the TCPM cannot be located Lee Jones
2013-04-04 9:31 ` Lee Jones
2013-04-04 9:31 ` [PATCH 2/2] mfd: db8500-prcmu: Support platform dependant device selection Lee Jones
2013-04-04 9:31 ` Lee Jones
2013-04-04 10:06 ` Lee Jones
2013-04-04 10:06 ` Lee Jones
2013-04-04 10:05 ` Lee Jones [this message]
2013-04-04 10:05 ` [PATCH 1/2] mfd: db8500-prcmu: Return early if the TCPM cannot be located Lee Jones
-- strict thread matches above, loose matches on Subject: below --
2013-04-04 10:39 Lee Jones
2013-04-04 10:39 ` Lee Jones
2013-04-09 10:05 ` Samuel Ortiz
2013-04-09 10:05 ` Samuel Ortiz
2013-04-09 10:29 ` Lee Jones
2013-04-09 10:29 ` Lee Jones
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=20130404100539.GA8921@gmail.com \
--to=lee.jones@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.