[U-Boot] [PATCH v9 34/49] dm: power: Tidy up debugging output and return values

Simon Glass sjg at chromium.org
Fri Jan 22 16:18:46 CET 2016


On 21 January 2016 at 19:43, Simon Glass <sjg at chromium.org> wrote:
> The currect PMIC debugging is a little confusing. Adjust it so that it is
> clear whether the operation succeeded or failed. Also, avoid creating a new
> error return value when a perfectly good one is already available.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v9: None
> Changes in v2: None
>
>  drivers/power/pmic/pmic-uclass.c           | 11 ++++++++---
>  drivers/power/pmic/rk808.c                 | 14 ++++++++++----
>  drivers/power/regulator/regulator-uclass.c |  2 +-
>  3 files changed, 19 insertions(+), 8 deletions(-)

Applied to u-boot-rockchip.


More information about the U-Boot mailing list