[PATCH 8/9] mfd: db8500-prcmu: Return early if the TCPM cannot be located

Linus Walleij linus.walleij at linaro.org
Wed Apr 3 16:46:17 EDT 2013


On Tue, Apr 2, 2013 at 3:21 PM, Lee Jones <lee.jones at linaro.org> 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 at linux.intel.com>
> Signed-off-by: Lee Jones <lee.jones at linaro.org>

Acked-by: Linus Walleij <linus.walleij at linaro.org>

This should go in through the MFD tree.

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list