display: backlight: Relocate display_backlight_change_brightness_by_dpms_state()... 14/289414/8
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 7 Mar 2023 08:25:47 +0000 (17:25 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 08:08:15 +0000 (17:08 +0900)
commit64c94da8dcd883c71dfbb6feeaaf5fac9fcc3264
treeac69bb0653adf523475e0249ec1b4ed54fb143ba
parent43861be7e1ff117b7092d593f8f6f67d5852e951
display: backlight: Relocate display_backlight_change_brightness_by_dpms_state() to reduce plugin duplication

Remove and redefine backlight_transit_state function in backlight_ops.

This function is added to below display-backlight.
int display_backlight_change_brightness_by_dpms_state(enum dpms_state state)
-> In AOD mode, this function changes brightness smoothly.

Change-Id: Iee3e16ad023fc71a3d1fccbf96dcabfbc156401c
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
plugins/iot-headed/display/core.c
plugins/iot-headed/display/device-interface.c
plugins/mobile/display/core.c
plugins/mobile/display/device-interface.c
plugins/tv/display/core.c
plugins/tv/display/device-interface.c
plugins/wearable/display/core.c
plugins/wearable/display/display-handler.c
src/display/display-backlight.c
src/display/display-backlight.h