diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-05-30 12:10:50 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-23 14:24:22 +0200 |
commit | a5d8e2e73c7f1dcee485d55225628317d8d441c0 (patch) | |
tree | 036a3b12a827fd6a5acac380e5e7d2d34d25b4cd /drivers/video/backlight/lp8788_bl.c | |
parent | Linux 3.16-rc2 (diff) | |
download | linux-a5d8e2e73c7f1dcee485d55225628317d8d441c0.tar.xz linux-a5d8e2e73c7f1dcee485d55225628317d8d441c0.zip |
backlight: Remove trivial get_brightness implementations
Since backlight core returns props.brightness in case get_brightness
is not implemented trivial implementations are not needed anymore.
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/video/backlight/lp8788_bl.c')
-rw-r--r-- | drivers/video/backlight/lp8788_bl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/backlight/lp8788_bl.c b/drivers/video/backlight/lp8788_bl.c index daba34dc46d4..d6c4f6a2d43e 100644 --- a/drivers/video/backlight/lp8788_bl.c +++ b/drivers/video/backlight/lp8788_bl.c @@ -176,15 +176,9 @@ static int lp8788_bl_update_status(struct backlight_device *bl_dev) return 0; } -static int lp8788_bl_get_brightness(struct backlight_device *bl_dev) -{ - return bl_dev->props.brightness; -} - static const struct backlight_ops lp8788_bl_ops = { .options = BL_CORE_SUSPENDRESUME, .update_status = lp8788_bl_update_status, - .get_brightness = lp8788_bl_get_brightness, }; static int lp8788_backlight_register(struct lp8788_bl *bl) |