projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7e3bd6
)
staging:iio:light:tsl2563 missing setting of id in get id function.
author
Maxin B. John
<maxin.john@gmail.com>
Wed, 26 Oct 2011 16:27:37 +0000
(17:27 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Sun, 27 Nov 2011 00:30:30 +0000
(16:30 -0800)
Signed-off-by: Maxin B. John <maxin.john@gmail.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/light/tsl2563.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/light/tsl2563.c
b/drivers/staging/iio/light/tsl2563.c
index be99925f566b2afddd27595141a00ae7667e1a60..6a1794508f67f9d29818381d98c6a91177dd2d50 100644
(file)
--- a/
drivers/staging/iio/light/tsl2563.c
+++ b/
drivers/staging/iio/light/tsl2563.c
@@
-226,6
+226,8
@@
static int tsl2563_read_id(struct tsl2563_chip *chip, u8 *id)
if (ret < 0)
return ret;
+ *id = ret;
+
return 0;
}