diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-05-30 14:10:50 +0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-23 16:24:22 +0400 |
commit | a5d8e2e73c7f1dcee485d55225628317d8d441c0 (patch) | |
tree | 036a3b12a827fd6a5acac380e5e7d2d34d25b4cd /drivers/video/fbdev/riva/fbdev.c | |
parent | a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee (diff) | |
download | linux-a5d8e2e73c7f1dcee485d55225628317d8d441c0.tar.xz |
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/fbdev/riva/fbdev.c')
-rw-r--r-- | drivers/video/fbdev/riva/fbdev.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/fbdev/riva/fbdev.c b/drivers/video/fbdev/riva/fbdev.c index 8a8d7f060784..be73727c7227 100644 --- a/drivers/video/fbdev/riva/fbdev.c +++ b/drivers/video/fbdev/riva/fbdev.c @@ -326,13 +326,7 @@ static int riva_bl_update_status(struct backlight_device *bd) return 0; } -static int riva_bl_get_brightness(struct backlight_device *bd) -{ - return bd->props.brightness; -} - static const struct backlight_ops riva_bl_ops = { - .get_brightness = riva_bl_get_brightness, .update_status = riva_bl_update_status, }; |