summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/atmel_captouch.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/atmel_captouch.c')
-rw-r--r--drivers/input/misc/atmel_captouch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/atmel_captouch.c b/drivers/input/misc/atmel_captouch.c
index 941265415a89..c4c0f4bb7627 100644
--- a/drivers/input/misc/atmel_captouch.c
+++ b/drivers/input/misc/atmel_captouch.c
@@ -191,7 +191,6 @@ static int atmel_captouch_probe(struct i2c_client *client,
return -ENOMEM;
capdev->client = client;
- i2c_set_clientdata(client, capdev);
err = atmel_read(capdev, REG_KEY_STATE,
&capdev->prev_btn, sizeof(capdev->prev_btn));
OpenPOWER on IntegriCloud