mfd: db8500-prcmu: Return early if the TCPM cannot be located
authorLee Jones <lee.jones@linaro.org>
Thu, 4 Apr 2013 10:39:00 +0000 (11:39 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 10:02:42 +0000 (12:02 +0200)
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.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

No differences found