- The maximum brightness of display varies
according to the driver. Thus maximum brightness
function is added for platform to adjust all cases.
Change-Id: Iab3c2b82372b174d569487b7c85f2024185a89b5
Signed-off-by: taeyoung <ty317.kim@samsung.com>
struct display_device {
struct hw_common common;
- /* The brightness value is 0 to 100. */
+ /* Control display brightness */
+ int (*get_max_brightness)(int *brightness);
int (*get_brightness)(int *brightness);
int (*set_brightness)(int brightness);