display: backlight: Remove restore_brightness_func() to reduce plugin duplication. 05/289205/9
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 2 Mar 2023 11:12:30 +0000 (20:12 +0900)
committeryunhee <yuni.seo@samsung.com>
Mon, 20 Mar 2023 08:08:02 +0000 (17:08 +0900)
commit43861be7e1ff117b7092d593f8f6f67d5852e951
treece4fd4b009963e624546ea3fe9dbeaef974c4b58
parent4fdd6a33a6c806c6449c812120c5e4edd00e40f3
display: backlight: Remove restore_brightness_func() to reduce plugin duplication.

restore_brightness_func() was used only for wearable plugin.
It changed set/get/change_brightness functions in backlight_ops depends on lbm mode.

To remove duplicated and redundant code, this functions is removed.
Also, add function changing code to wearable plugin profile.

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