summaryrefslogtreecommitdiff
path: root/drivers/regulator/rpi-panel-attiny-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/rpi-panel-attiny-regulator.c')
-rw-r--r--drivers/regulator/rpi-panel-attiny-regulator.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/regulator/rpi-panel-attiny-regulator.c b/drivers/regulator/rpi-panel-attiny-regulator.c
index 105f694a67e6..308f7972941b 100644
--- a/drivers/regulator/rpi-panel-attiny-regulator.c
+++ b/drivers/regulator/rpi-panel-attiny-regulator.c
@@ -381,13 +381,11 @@ error:
return ret;
}
-static int attiny_i2c_remove(struct i2c_client *client)
+static void attiny_i2c_remove(struct i2c_client *client)
{
struct attiny_lcd *state = i2c_get_clientdata(client);
mutex_destroy(&state->lock);
-
- return 0;
}
static const struct of_device_id attiny_dt_ids[] = {