]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/video/backlight/lp855x_bl.c
backlight: Remove trivial get_brightness implementations
[linux-beck.git] / drivers / video / backlight / lp855x_bl.c
index 2ca3a040007bb6298c3c571b7d788900d8aa3759..dcdd5443efcf42237b0821963933c9b87a65c900 100644 (file)
@@ -274,15 +274,9 @@ static int lp855x_bl_update_status(struct backlight_device *bl)
        return 0;
 }
 
-static int lp855x_bl_get_brightness(struct backlight_device *bl)
-{
-       return bl->props.brightness;
-}
-
 static const struct backlight_ops lp855x_bl_ops = {
        .options = BL_CORE_SUSPENDRESUME,
        .update_status = lp855x_bl_update_status,
-       .get_brightness = lp855x_bl_get_brightness,
 };
 
 static int lp855x_backlight_register(struct lp855x *lp)