[U-Boot] [PATCH 05/12] common: cmd pmic: command cleanup

Simon Glass sjg at chromium.org
Sun May 10 15:56:51 CEST 2015


On 8 May 2015 at 10:20, Przemyslaw Marczak <p.marczak at samsung.com> wrote:
> This commit cleanups the use of function: failed().
> The new function name is: failure(), and it is used
> for print errno and the errno-related message only.
>
> The second change is choosing PMIC device by it's name,
> instead of seq number. Thanks to this change, for set
> the current device, call of pmic_get() is enough.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
> ---
>  common/cmd_pmic.c | 131 +++++++++++++++++++++++-------------------------------
>  1 file changed, 55 insertions(+), 76 deletions(-)
>

Acked-by: Simon Glass <sjg at chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list