From: taeyoung Date: Thu, 7 Jul 2016 00:45:40 +0000 (+0900) Subject: display: add getter for the maximum brightness of display X-Git-Tag: submit/tizen/20160803.081834^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e34e02fd4918405cebc4fc468a54cb66c4e041f0;p=platform%2Fcore%2Fsystem%2Flibdevice-node.git display: add getter for the maximum brightness of display - 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 --- diff --git a/hw/display.h b/hw/display.h index a913d39..2dbdf46 100644 --- a/hw/display.h +++ b/hw/display.h @@ -62,7 +62,8 @@ enum display_panel_mode { 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);