amlogic: hdmitx: Remove undefined pm ops 11/290011/1
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 17 Mar 2023 06:22:09 +0000 (15:22 +0900)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Fri, 17 Mar 2023 06:22:16 +0000 (15:22 +0900)
There is no pm ops for hdmitx, but it is called when
CONFIG_HIBERNATION is enabled. Just remove the not defined
pm ops.

Change-Id: I33a0f8a2e70490375e46850500dd52d30bdd5f8c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/amlogic/media/vout/hdmitx/hdmi_tx_20/hdmi_tx_main.c

index 9faab47..12e7e40 100644 (file)
@@ -5255,9 +5255,6 @@ static struct platform_driver amhdmitx_driver = {
                .name   = DEVICE_NAME,
                .owner  = THIS_MODULE,
                .of_match_table = meson_amhdmitx_dt_match,
-#ifdef CONFIG_HIBERNATION
-               .pm     = &amhdmitx_pm,
-#endif
        }
 };