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, 1 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/tsc2004.c b/drivers/input/touchscreen/tsc2004.c
index 9fdd870c4c0b..a9565353ee98 100644
--- a/drivers/input/touchscreen/tsc2004.c
+++ b/drivers/input/touchscreen/tsc2004.c
@@ -43,11 +43,9 @@ static int tsc2004_probe(struct i2c_client *i2c,
tsc2004_cmd);
}
-static int tsc2004_remove(struct i2c_client *i2c)
+static void tsc2004_remove(struct i2c_client *i2c)
{
tsc200x_remove(&i2c->dev);
-
- return 0;
}
static const struct i2c_device_id tsc2004_idtable[] = {