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 13:24:22 +0100 |
commit | a5d8e2e73c7f1dcee485d55225628317d8d441c0 (patch) | |
tree | 036a3b12a827fd6a5acac380e5e7d2d34d25b4cd /drivers/video/backlight/aat2870_bl.c | |
parent | a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee (diff) | |
download | blackbird-op-linux-a5d8e2e73c7f1dcee485d55225628317d8d441c0.tar.gz blackbird-op-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/aat2870_bl.c')
-rw-r--r-- | drivers/video/backlight/aat2870_bl.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/video/backlight/aat2870_bl.c b/drivers/video/backlight/aat2870_bl.c index ec5350f2c28a..86234c31d79c 100644 --- a/drivers/video/backlight/aat2870_bl.c +++ b/drivers/video/backlight/aat2870_bl.c @@ -67,11 +67,6 @@ static inline int aat2870_bl_disable(struct aat2870_bl_driver_data *aat2870_bl) return aat2870->write(aat2870, AAT2870_BL_CH_EN, 0x0); } -static int aat2870_bl_get_brightness(struct backlight_device *bd) -{ - return bd->props.brightness; -} - static int aat2870_bl_update_status(struct backlight_device *bd) { struct aat2870_bl_driver_data *aat2870_bl = bl_get_data(bd); @@ -120,7 +115,6 @@ static int aat2870_bl_check_fb(struct backlight_device *bd, struct fb_info *fi) static const struct backlight_ops aat2870_bl_ops = { .options = BL_CORE_SUSPENDRESUME, - .get_brightness = aat2870_bl_get_brightness, .update_status = aat2870_bl_update_status, .check_fb = aat2870_bl_check_fb, }; |