projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'kselftest-3.18-updates-1' of git://git.kernel.org/pub/scm/linux/kernel...
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
regulator
/
lp3971.c
diff --git
a/drivers/regulator/lp3971.c
b/drivers/regulator/lp3971.c
index 3b1102b75071f9d9f73fa0b34db63e43f9784614..66fd2330dca043a2627c8443f090ba5822f5de14 100644
(file)
--- a/
drivers/regulator/lp3971.c
+++ b/
drivers/regulator/lp3971.c
@@
-327,7
+327,7
@@
static int lp3971_i2c_read(struct i2c_client *i2c, char reg, int count,
return -EIO;
ret = i2c_smbus_read_byte_data(i2c, reg);
if (ret < 0)
- return
-EIO
;
+ return
ret
;
*dest = ret;
return 0;