[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130409102949.GC25316@gmail.com>
Date: Tue, 9 Apr 2013 11:29:49 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Samuel Ortiz <sameo@...ux.intel.com>
Cc: linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org,
arnd@...db.de, linus.walleij@...ricsson.com
Subject: Re: [PATCH 1/2] mfd: db8500-prcmu: Return early if the TCPM cannot
be located
On Tue, 09 Apr 2013, Samuel Ortiz wrote:
> Hi Lee,
>
> On Thu, Apr 04, 2013 at 11:39:00AM +0100, 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@...ux.intel.com>
> > Signed-off-by: Lee Jones <lee.jones@...aro.org>
> > ---
> > drivers/mfd/db8500-prcmu.c | 40 +++++++++++++++++++++-------------------
> > 1 file changed, 21 insertions(+), 19 deletions(-)
> I had to apply this one manually, please check if it was done correctly from
> my mfd-next tree.
Yes, looks good.
I think it was only 'db8500_prcmu_early_init()' and the line numbers
which confused it.
Kind regards,
Lee
--
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists