summaryrefslogtreecommitdiff
path: root/drivers/video/backlight/bd6107.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/backlight/bd6107.c')
-rw-r--r--drivers/video/backlight/bd6107.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/video/backlight/bd6107.c b/drivers/video/backlight/bd6107.c
index 515184fbe33a..a506872d4396 100644
--- a/drivers/video/backlight/bd6107.c
+++ b/drivers/video/backlight/bd6107.c
@@ -175,14 +175,12 @@ static int bd6107_probe(struct i2c_client *client,
return 0;
}
-static int bd6107_remove(struct i2c_client *client)
+static void bd6107_remove(struct i2c_client *client)
{
struct backlight_device *backlight = i2c_get_clientdata(client);
backlight->props.brightness = 0;
backlight_update_status(backlight);
-
- return 0;
}
static const struct i2c_device_id bd6107_ids[] = {