summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/tsc2004.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/touchscreen/tsc2004.c')
-rw-r--r--drivers/input/touchscreen/tsc2004.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/tsc2004.c b/drivers/input/touchscreen/tsc2004.c
index 0272cedcc726..9fdd870c4c0b 100644
--- a/drivers/input/touchscreen/tsc2004.c
+++ b/drivers/input/touchscreen/tsc2004.c
@@ -45,7 +45,9 @@ static int tsc2004_probe(struct i2c_client *i2c,
static int tsc2004_remove(struct i2c_client *i2c)
{
- return tsc200x_remove(&i2c->dev);
+ tsc200x_remove(&i2c->dev);
+
+ return 0;
}
static const struct i2c_device_id tsc2004_idtable[] = {