diff options
author | Andrzej Hajda <a.hajda@samsung.com> | 2014-05-30 06:10:50 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2014-06-23 08:24:22 -0400 |
commit | a5d8e2e73c7f1dcee485d55225628317d8d441c0 (patch) | |
tree | 036a3b12a827fd6a5acac380e5e7d2d34d25b4cd /drivers/macintosh | |
parent | a497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee (diff) |
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/macintosh')
-rw-r--r-- | drivers/macintosh/via-pmu-backlight.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/macintosh/via-pmu-backlight.c b/drivers/macintosh/via-pmu-backlight.c index b1d91170ded0..6f68537c93ce 100644 --- a/drivers/macintosh/via-pmu-backlight.c +++ b/drivers/macintosh/via-pmu-backlight.c | |||
@@ -110,13 +110,7 @@ static int pmu_backlight_update_status(struct backlight_device *bd) | |||
110 | } | 110 | } |
111 | 111 | ||
112 | 112 | ||
113 | static int pmu_backlight_get_brightness(struct backlight_device *bd) | ||
114 | { | ||
115 | return bd->props.brightness; | ||
116 | } | ||
117 | |||
118 | static const struct backlight_ops pmu_backlight_data = { | 113 | static const struct backlight_ops pmu_backlight_data = { |
119 | .get_brightness = pmu_backlight_get_brightness, | ||
120 | .update_status = pmu_backlight_update_status, | 114 | .update_status = pmu_backlight_update_status, |
121 | 115 | ||
122 | }; | 116 | }; |