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>
Esse commit está contido em:
Andrzej Hajda
2014-05-30 12:10:50 +02:00
commit de Lee Jones
commit a5d8e2e73c
20 arquivos alterados com 0 adições e 120 exclusões

Ver arquivo

@@ -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,
};