i2c: Make remove callback return void
[sfrench/cifs-2.6.git] / drivers / iio / pressure / zpa2326_i2c.c
index 0db0860d386ba02ddaf348f46f2fd93f01f88c49..f26dd8cbb387c0e4e2783909aec526fc5445eda8 100644 (file)
@@ -53,11 +53,9 @@ static int zpa2326_probe_i2c(struct i2c_client          *client,
                             zpa2326_i2c_hwid(client), regmap);
 }
 
-static int zpa2326_remove_i2c(struct i2c_client *client)
+static void zpa2326_remove_i2c(struct i2c_client *client)
 {
        zpa2326_remove(&client->dev);
-
-       return 0;
 }
 
 static const struct i2c_device_id zpa2326_i2c_ids[] = {