]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: pmic: code cleanup of PMIC uclass driver
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 13 May 2015 11:38:26 +0000 (13:38 +0200)
committerSimon Glass <sjg@chromium.org>
Fri, 15 May 2015 01:58:34 +0000 (19:58 -0600)
commitf415a3ec9dfafc887ddf34aee0c579fc948c5740
tree3c864bede888f1352639e1d77e931ab1c7794fa9
parentca2b933a382e823989c97a7d83c39825b8c22696
dm: pmic: code cleanup of PMIC uclass driver

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>
drivers/power/pmic/Kconfig
drivers/power/pmic/max77686.c
drivers/power/pmic/pmic-uclass.c
include/power/pmic.h