]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: regulator: uclass driver code cleanup
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Wed, 13 May 2015 11:38:27 +0000 (13:38 +0200)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:40:25 +0000 (22:40 +0200)
commit8c0d571006ddfdb8c04422615fddb2bdd8209f96
tree8dfac62c05e5115028bcfb3969b6dd451d9ee8fc
parent0f41ecf982b76246b4cc579140c55896dd43736d
dm: regulator: uclass driver code cleanup

This cleanup includes:
- remove of the preprocessor macros which pointed to long name functions
- update of the names of some regulator uclass driver functions
- cleanup of the function regulator_autoset()
- reword of some comments of regulator uclass header file
- regulator_get_by_platname: check error for uclass_find_* function calls
- add function: regulator_name_is_unique
- regulator post_bind(): check regulator name uniqueness
- fix mistakes in: regulator/Kconfig
- regulator.h: update comments
- odroid u3: cleanup the regulator calls

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>
board/samsung/odroid/odroid.c
drivers/power/regulator/Kconfig
drivers/power/regulator/regulator-uclass.c
include/power/regulator.h