diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-05-13 13:38:26 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 19:58:34 -0600 |
commit | f415a3ec9dfafc887ddf34aee0c579fc948c5740 (patch) | |
tree | 3c864bede888f1352639e1d77e931ab1c7794fa9 /drivers/power/pmic/Kconfig | |
parent | ca2b933a382e823989c97a7d83c39825b8c22696 (diff) |
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>
Diffstat (limited to 'drivers/power/pmic/Kconfig')
-rw-r--r-- | drivers/power/pmic/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/pmic/Kconfig b/drivers/power/pmic/Kconfig index af68783987..d99d9e3a06 100644 --- a/drivers/power/pmic/Kconfig +++ b/drivers/power/pmic/Kconfig @@ -15,4 +15,4 @@ config DM_PMIC_MAX77686 depends on DM_PMIC ---help--- This config enables implementation of driver-model pmic uclass features - for PMIC MAX77686. The driver implements read/write operations.
\ No newline at end of file + for PMIC MAX77686. The driver implements read/write operations. |