display: Change get_lcd_power() to dpms_get_cached_state() 65/289165/9
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 2 Mar 2023 07:29:09 +0000 (16:29 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 08:04:48 +0000 (17:04 +0900)
commitc2b118b73f29161309e2edd7005238c375b10962
tree7a5f522ae880b6afc668c6cde4023eed63cd8a84
parentf9ba96c337e2d5bf72f7b44493b6ad4b64dffe8f
display: Change get_lcd_power() to dpms_get_cached_state()

To move plugin functions without plugin dependency,
get_lcd_power() should be replaced by dpms_get_cached_state().
However, touchscreen module is dependent on display module build.
Thus, this get_lcd_power() will be changed after resolving build dependency.

Change-Id: I4d58f852cf3da29fe58df4fe3f8b69d954c77959
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
14 files changed:
plugins/iot-headed/display/core.c
plugins/iot-headed/display/key-filter.c
plugins/mobile/display/core.c
plugins/mobile/display/key-filter.c
plugins/tv/display/core.c
plugins/tv/display/key-filter.c
plugins/wearable/display/core.c
plugins/wearable/display/device-interface.c
plugins/wearable/display/display-handler.c
plugins/wearable/display/key-filter.c
plugins/wearable/display/swim.c
src/display/ambient-mode.c
src/display/display-lock.c
src/touchscreen/touchscreen.c