On 8 May 2015 at 10:20, Przemyslaw Marczak <p.marc...@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.marc...@samsung.com>
> ---
>  common/cmd_regulator.c | 239 
> +++++++++++++++++++++++++------------------------
>  1 file changed, 122 insertions(+), 117 deletions(-)

Acked-by: Simon Glass <s...@chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <s...@chromium.org>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to