]> Git Repo - linux.git/blobdiff - drivers/misc/ds1682.c
i2c: Make remove callback return void
[linux.git] / drivers / misc / ds1682.c
index 42f316c2d71953b2dab0d909f0eb6db3ad2f86e2..0698ddc5f4d54597883c92c1765f1f4c9eb204d6 100644 (file)
@@ -228,11 +228,10 @@ static int ds1682_probe(struct i2c_client *client,
        return rc;
 }
 
-static int ds1682_remove(struct i2c_client *client)
+static void ds1682_remove(struct i2c_client *client)
 {
        sysfs_remove_bin_file(&client->dev.kobj, &ds1682_eeprom_attr);
        sysfs_remove_group(&client->dev.kobj, &ds1682_group);
-       return 0;
 }
 
 static const struct i2c_device_id ds1682_id[] = {
This page took 0.033867 seconds and 4 git commands to generate.