i2c: Make remove callback return void
[linux-2.6-microblaze.git] / drivers / misc / bh1770glc.c
index 0581bb9..d0dfa67 100644 (file)
@@ -1280,7 +1280,7 @@ fail0:
        return err;
 }
 
-static int bh1770_remove(struct i2c_client *client)
+static void bh1770_remove(struct i2c_client *client)
 {
        struct bh1770_chip *chip = i2c_get_clientdata(client);
 
@@ -1299,8 +1299,6 @@ static int bh1770_remove(struct i2c_client *client)
 
        pm_runtime_disable(&client->dev);
        pm_runtime_set_suspended(&client->dev);
-
-       return 0;
 }
 
 #ifdef CONFIG_PM_SLEEP