commit | 6daa663dc42957ca6c794a84fe07fa09f0273ff9 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <error27@gmail.com> | Wed Jul 06 21:57:18 2011 +0300 |
committer | Samuel Ortiz <sameo@linux.intel.com> | Sun Jul 31 23:28:26 2011 +0200 |
tree | ce482f6811a87c7b77fe7a69b080458fd89151c3 | |
parent | dc7e412d431db5da7fa252f4c3ed475ef4af3e8a [diff] |
regulator: Storing tps65912 error codes in u8 get_ctrl_reg() returns -EINVAL so the error handling won't work here if reg is a u8. Signed-off-by: Dan Carpenter <error27@gmail.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>