[U-Boot] [PATCH v9 34/49] dm: power: Tidy up debugging output and return values

2016-01-21 Thread Simon Glass
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 --- Changes in v9: None Changes in v2: None driver

Re: [U-Boot] [PATCH v9 34/49] dm: power: Tidy up debugging output and return values

2016-01-22 Thread Simon Glass
On 21 January 2016 at 19:43, Simon Glass wrote: > 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 Gl