git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/cooloney...
[pandora-kernel.git]
/
drivers
/
leds
/
leds-lp3944.c
diff --git
a/drivers/leds/leds-lp3944.c
b/drivers/leds/leds-lp3944.c
index
b081f67
..
0c4386e
100644
(file)
--- a/
drivers/leds/leds-lp3944.c
+++ b/
drivers/leds/leds-lp3944.c
@@
-86,7
+86,7
@@
static int lp3944_reg_read(struct i2c_client *client, u8 reg, u8 *value)
tmp = i2c_smbus_read_byte_data(client, reg);
if (tmp < 0)
- return
-EINVAL
;
+ return
tmp
;
*value = tmp;