projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Input: ads7846 - fix uninitialized var warning
[deliverable/linux.git]
/
drivers
/
input
/
touchscreen
/
ads7846.c
diff --git
a/drivers/input/touchscreen/ads7846.c
b/drivers/input/touchscreen/ads7846.c
index 58934a40f5ce5ff90abfbe071327370598d0e631..57a1c28bf1226e0a37a904154bc3e540c4463db7 100644
(file)
--- a/
drivers/input/touchscreen/ads7846.c
+++ b/
drivers/input/touchscreen/ads7846.c
@@
-213,7
+213,7
@@
static int ads7846_read12_ser(struct device *dev, unsigned command)
struct ads7846 *ts = dev_get_drvdata(dev);
struct ser_req *req = kzalloc(sizeof *req, GFP_KERNEL);
int status;
- int
sample
;
+ int
uninitialized_var(sample)
;
int use_internal;
if (!req)
This page took
0.027011 seconds
and
5
git commands to generate.