summaryrefslogtreecommitdiff
path: root/doc/driver-model
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-05-13 13:38:28 +0200
committerSimon Glass <sjg@chromium.org>2015-05-14 19:58:34 -0600
commit493cdec7ac68b6534f0dff1dd2e0d97c90930630 (patch)
treedf8b35064e3eb826652cf40baa3ef1059c312a98 /doc/driver-model
parent3b880757abcaf676dd599663e5b79dd26ea97a80 (diff)
downloadu-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 'doc/driver-model')
0 files changed, 0 insertions, 0 deletions