diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2015-05-13 13:38:28 +0200 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2015-05-14 19:58:34 -0600 |
commit | 493cdec7ac68b6534f0dff1dd2e0d97c90930630 (patch) | |
tree | df8b35064e3eb826652cf40baa3ef1059c312a98 /drivers/watchdog/designware_wdt.c | |
parent | 3b880757abcaf676dd599663e5b79dd26ea97a80 (diff) | |
download | u-boot-imx-493cdec7ac68b6534f0dff1dd2e0d97c90930630.zip u-boot-imx-493cdec7ac68b6534f0dff1dd2e0d97c90930630.tar.gz u-boot-imx-493cdec7ac68b6534f0dff1dd2e0d97c90930630.tar.bz2 |
common: cmd pmic: command cleanup
This commit cleanups the use of function: failed().
The new function name is: failure(), and it is used
for print errno and the errno-related message only.
The second change is choosing PMIC device by it's name,
instead of seq number. Thanks to this change, for set
the current device, call of pmic_get() is enough.
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