diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-05-13 13:38:29 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 19:58:34 -0600 |
commit | e09b2a02d3b0061c7532b6fa175c8506f36541eb (patch) | |
tree | 22c7da40b7f24aa3be3d5ede1bcac6d9375aae7f /drivers/watchdog/designware_wdt.c | |
parent | 493cdec7ac68b6534f0dff1dd2e0d97c90930630 (diff) | |
download | u-boot-imx-e09b2a02d3b0061c7532b6fa175c8506f36541eb.zip u-boot-imx-e09b2a02d3b0061c7532b6fa175c8506f36541eb.tar.gz u-boot-imx-e09b2a02d3b0061c7532b6fa175c8506f36541eb.tar.bz2 |
common: cmd regulator: command cleanup
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@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested on sandbox:
Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/watchdog/designware_wdt.c')
0 files changed, 0 insertions, 0 deletions