diff options
| author | Przemyslaw Marczak <[email protected]> | 2015-05-13 13:38:28 +0200 |
|---|---|---|
| committer | Simon Glass <[email protected]> | 2015-05-14 19:58:34 -0600 |
| commit | 493cdec7ac68b6534f0dff1dd2e0d97c90930630 (patch) | |
| tree | df8b35064e3eb826652cf40baa3ef1059c312a98 /scripts | |
| parent | 3b880757abcaf676dd599663e5b79dd26ea97a80 (diff) | |
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 <[email protected]>
Acked-by: Simon Glass <[email protected]>
Tested on sandbox:
Tested-by: Simon Glass <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
