summaryrefslogtreecommitdiff
path: root/drivers/leds/flash/leds-lm3601x.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/flash/leds-lm3601x.c')
-rw-r--r--drivers/leds/flash/leds-lm3601x.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/leds/flash/leds-lm3601x.c b/drivers/leds/flash/leds-lm3601x.c
index 37e1d6e68687..78730e066a73 100644
--- a/drivers/leds/flash/leds-lm3601x.c
+++ b/drivers/leds/flash/leds-lm3601x.c
@@ -440,7 +440,7 @@ static int lm3601x_probe(struct i2c_client *client)
return lm3601x_register_leds(led, fwnode);
}
-static int lm3601x_remove(struct i2c_client *client)
+static void lm3601x_remove(struct i2c_client *client)
{
struct lm3601x_led *led = i2c_get_clientdata(client);
int ret;
@@ -450,8 +450,6 @@ static int lm3601x_remove(struct i2c_client *client)
if (ret)
dev_warn(&client->dev,
"Failed to put into standby (%pe)\n", ERR_PTR(ret));
-
- return 0;
}
static const struct i2c_device_id lm3601x_id[] = {