summaryrefslogtreecommitdiff
path: root/drivers/leds/flash/leds-rt4505.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/leds/flash/leds-rt4505.c')
-rw-r--r--drivers/leds/flash/leds-rt4505.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/leds/flash/leds-rt4505.c b/drivers/leds/flash/leds-rt4505.c
index ee129ab7255d..e404fe8b0314 100644
--- a/drivers/leds/flash/leds-rt4505.c
+++ b/drivers/leds/flash/leds-rt4505.c
@@ -393,12 +393,11 @@ static int rt4505_probe(struct i2c_client *client)
return 0;
}
-static int rt4505_remove(struct i2c_client *client)
+static void rt4505_remove(struct i2c_client *client)
{
struct rt4505_priv *priv = i2c_get_clientdata(client);
v4l2_flash_release(priv->v4l2_flash);
- return 0;
}
static void rt4505_shutdown(struct i2c_client *client)