summaryrefslogtreecommitdiff
path: root/drivers/watchdog/designware_wdt.c
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-05-13 13:38:29 +0200
committerSimon Glass <sjg@chromium.org>2015-05-14 19:58:34 -0600
commite09b2a02d3b0061c7532b6fa175c8506f36541eb (patch)
tree22c7da40b7f24aa3be3d5ede1bcac6d9375aae7f /drivers/watchdog/designware_wdt.c
parent493cdec7ac68b6534f0dff1dd2e0d97c90930630 (diff)
downloadu-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