[U-Boot] [PATCH V2 03/13] dm: pmic: code cleanup of PMIC uclass driver

Simon Glass
2015-05-15T13:55:42Z

On 13 May 2015 at 05:38, Przemyslaw Marczak <p.marczak@samsung.com> wrote:
> The cleanup includes:
> - pmic.h - fix mistakes in a few comments
> - pmic operations: value 'reg_count' - redefine as function call
> - fix function name: pmic_bind_childs() -> pmic_bind_children()
> - pmic_bind_children: change the 'while' loop with the 'for'
> - add implementation of pmic_reg_count() method
> - pmic_bind_children() - update function call name
> - Kconfig: add new line at the end of file
> - Update MAX77686 driver code
>
> Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
> Acked-by: Simon Glass <sjg@chromium.org>
> Tested on sandbox:
> Tested-by: Simon Glass <sjg@chromium.org>
> ---
> Changes V2:
> - cleanup of the pmic_bind_children() loop
> - split with: dm: pmic: max77686: update driver code
> ---
> drivers/power/pmic/Kconfig | 2 +-
> drivers/power/pmic/max77686.c | 15 ++++++++++-----
> drivers/power/pmic/pmic-uclass.c | 31 +++++++++----------------------
> include/power/pmic.h | 39 ++++++++++++++++++++-------------------
> 4 files changed, 40 insertions(+), 47 deletions(-)

Applied to u-boot-dm, thanks!