drm/omap: Clean up deadcode functions
authorDr. David Alan Gilbert <linux@treblig.org>
Sat, 26 Oct 2024 22:00:10 +0000 (23:00 +0100)
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Mon, 28 Oct 2024 08:16:07 +0000 (10:16 +0200)
commit2eb747a5988e16068471bce8d87fd9843dc5c3b3
treee669352509daff308bfb7bf23c6662c46e688987
parent93accc16a8d45a44e1f51fdf2c6014feedb13d27
drm/omap: Clean up deadcode functions

dispc_enable_fifomerge() last use was removed by 2012's
commit 85099f11bd03 ("Revert "OMAPDSS: APPLY: add fifo merge support
funcs"")

dispc_has_writeback(), dispc_wb_get_framedone_irq(), dispc_wb_go(),
dispc_wb_go_busy() and dispc_wb_setup() were changed from statics
to public symbols and unwired from a structure by 2020's
commit dac62bcafeaa ("drm/omap: remove dispc_ops")
but didn't have any users.

dispc_mgr_get_clock_div() got renamed from dispc_get_clock_div()
and it's last use was removed in 2011 by commit
42c9dee82129 ("OMAP: DSS2: Remove FB_OMAP_BOOTLOADER_INIT support")

Remove them.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241026220010.93773-1-linux@treblig.org
drivers/gpu/drm/omapdrm/dss/dispc.c
drivers/gpu/drm/omapdrm/dss/dss.h