summaryrefslogtreecommitdiff
path: root/drivers/mfd/gateworks-gsc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/gateworks-gsc.c')
-rw-r--r--drivers/mfd/gateworks-gsc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mfd/gateworks-gsc.c b/drivers/mfd/gateworks-gsc.c
index d87876747b91..9d7d870c44a8 100644
--- a/drivers/mfd/gateworks-gsc.c
+++ b/drivers/mfd/gateworks-gsc.c
@@ -255,11 +255,9 @@ static int gsc_probe(struct i2c_client *client)
return 0;
}
-static int gsc_remove(struct i2c_client *client)
+static void gsc_remove(struct i2c_client *client)
{
sysfs_remove_group(&client->dev.kobj, &attr_group);
-
- return 0;
}
static struct i2c_driver gsc_driver = {