[U-Boot] [PATCH V2 06/13] common: cmd regulator: command cleanup
Simon Glass
sjg at chromium.org
Fri May 15 15:56:27 CEST 2015
On 13 May 2015 at 05:38, Przemyslaw Marczak <p.marczak at samsung.com> wrote:
> This commit cleanups the regulator command.
> The first change, is adjusting "regulator dev" command to use
> "regulator-name" constraint, for setting the operating device.
> Thanks to this, the regulator_get() function is removed.
>
> This also updates do_list() function, with loop over uclass_find_*
> function calls, to prevent probe of all listed regulators.
>
> This also cleanups the printing in command.
>
> Signed-off-by: Przemyslaw Marczak <p.marczak at samsung.com>
> Acked-by: Simon Glass <sjg at chromium.org>
> Tested on sandbox:
> Tested-by: Simon Glass <sjg at chromium.org>
> ---
> Changes V2:
> - none
>
> ---
> common/cmd_regulator.c | 239 +++++++++++++++++++++++++------------------------
> 1 file changed, 122 insertions(+), 117 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list