summaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-05-30 12:10:50 +0200
committerLee Jones <lee.jones@linaro.org>2014-06-23 13:24:22 +0100
commita5d8e2e73c7f1dcee485d55225628317d8d441c0 (patch)
tree036a3b12a827fd6a5acac380e5e7d2d34d25b4cd /drivers/platform
parenta497c3ba1d97fc69c1e78e7b96435ba8c2cb42ee (diff)
downloadop-kernel-dev-a5d8e2e73c7f1dcee485d55225628317d8d441c0.zip
op-kernel-dev-a5d8e2e73c7f1dcee485d55225628317d8d441c0.tar.gz
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/platform')
-rw-r--r--drivers/platform/x86/samsung-q10.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/platform/x86/samsung-q10.c b/drivers/platform/x86/samsung-q10.c
index 5413f62..28d12bd 100644
--- a/drivers/platform/x86/samsung-q10.c
+++ b/drivers/platform/x86/samsung-q10.c
@@ -46,13 +46,7 @@ static int samsungq10_bl_set_intensity(struct backlight_device *bd)
return 0;
}
-static int samsungq10_bl_get_intensity(struct backlight_device *bd)
-{
- return bd->props.brightness;
-}
-
static const struct backlight_ops samsungq10_bl_ops = {
- .get_brightness = samsungq10_bl_get_intensity,
.update_status = samsungq10_bl_set_intensity,
};
OpenPOWER on IntegriCloud