projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec1496b
)
Input: tps6507x-ts - add missing call to platform_set_drvdata()
author
Axel Lin
<axel.lin@gmail.com>
Thu, 2 Sep 2010 17:26:35 +0000
(10:26 -0700)
committer
Dmitry Torokhov
<dmitry.torokhov@gmail.com>
Fri, 3 Sep 2010 03:12:07 +0000
(20:12 -0700)
We call platform_get_drvdata() in tps6507x_ts_remove(),
thus we should call platform_set_drvdata() in tps6507x_ts_probe().
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/tps6507x-ts.c
patch
|
blob
|
history
diff --git
a/drivers/input/touchscreen/tps6507x-ts.c
b/drivers/input/touchscreen/tps6507x-ts.c
index a644d18c04dce09862663004217864698948fef0..728620974dd85f6dde58a52cb8b349e90c25c1dc 100644
(file)
--- a/
drivers/input/touchscreen/tps6507x-ts.c
+++ b/
drivers/input/touchscreen/tps6507x-ts.c
@@
-335,6
+335,7
@@
static int tps6507x_ts_probe(struct platform_device *pdev)
dev_err(tsc->dev, "schedule failed");
goto err2;
}
+ platform_set_drvdata(pdev, tps6507x_dev);
return 0;