summaryrefslogtreecommitdiff
path: root/drivers/input/misc/cma3000_d0x_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/input/misc/cma3000_d0x_i2c.c')
-rw-r--r--drivers/input/misc/cma3000_d0x_i2c.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/input/misc/cma3000_d0x_i2c.c b/drivers/input/misc/cma3000_d0x_i2c.c
index 03fb49127c3a..3b23210c46b7 100644
--- a/drivers/input/misc/cma3000_d0x_i2c.c
+++ b/drivers/input/misc/cma3000_d0x_i2c.c
@@ -58,13 +58,11 @@ static int cma3000_i2c_probe(struct i2c_client *client,
return 0;
}
-static int cma3000_i2c_remove(struct i2c_client *client)
+static void cma3000_i2c_remove(struct i2c_client *client)
{
struct cma3000_accl_data *data = i2c_get_clientdata(client);
cma3000_exit(data);
-
- return 0;
}
#ifdef CONFIG_PM