]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: power: Tidy up debugging output and return values
authorSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 02:43:58 +0000 (19:43 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 22 Jan 2016 03:42:35 +0000 (20:42 -0700)
commit7d5779993dbc487695fbfe88716fd70618a5db99
tree593db3bb18fc6a5ac3f521f020b674bcc87618ba
parent1b30d61d786421a5d02725a9945552cc9c09914b
dm: power: Tidy up debugging output and return values

The currect PMIC debugging is a little confusing. Adjust it so that it is
clear whether the operation succeeded or failed. Also, avoid creating a new
error return value when a perfectly good one is already available.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/power/pmic/pmic-uclass.c
drivers/power/pmic/rk808.c
drivers/power/regulator/regulator-uclass.c