display: Relocate lcd_paneloff_mode getter and setter 66/292466/10
authorYunhee Seo <yuni.seo@samsung.com>
Tue, 2 May 2023 08:05:58 +0000 (17:05 +0900)
committerYunhee Seo <yuni.seo@samsung.com>
Thu, 25 May 2023 01:54:07 +0000 (10:54 +0900)
commit5a05061c25175611bf96e0b949ab76aa24e875dd
tree7f3d19d44358fc0825eef7b130ec6f421709f914
parent2daa638dfeb2628f9668ae4ed3a739c37e6f7453
display: Relocate lcd_paneloff_mode getter and setter

Remove and redefine set_lcd_paneloff_mode() to reduce plugin duplication

These functions are added to below display-panel.
void display_panel_set_lcd_paneloff_mode(bool on)
-> This function sets lcd_paneloff_mode
void display_panel_get_lcd_paneloff_mode(bool *on)
-> This function gets lcd_paneloff_mode

Change-Id: Id7abeab34b2b5bb28899665bd65a020e8461cad0
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
plugins/iot-headed/display/core.c
plugins/mobile/display/core.c
plugins/tv/display/core.c
plugins/wearable/display/core.c
src/display/display-panel.c
src/display/display-panel.h
src/display/plugin-common/core.h
src/display/plugin-common/display-dbus.c