diff mbox

Input: tps6507x-ts - add missing platform_set_drvdata() in tps6507x_ts_probe()

Message ID 1283419241.19272.9.camel@mola (mailing list archive)
State Accepted
Commit 98417884477eb3c2d9c19a69c070f7f347af6d76
Headers show

Commit Message

axel lin Sept. 2, 2010, 9:20 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/input/touchscreen/tps6507x-ts.c b/drivers/input/touchscreen/tps6507x-ts.c
index a644d18..7286209 100644
--- 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;