drm: rcar-du: lvds: Move LVDS enable code to separate code section
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Mon, 13 Feb 2023 23:19:17 +0000 (01:19 +0200)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sat, 25 Mar 2023 20:38:09 +0000 (22:38 +0200)
commit650e788136db881a1896f0ce42a7cb121df65afc
tree963d8a37cd008d25ac20b60c9ee55db44b199855
parentc95e2ad9594adf1e8088ead38420179942b5c264
drm: rcar-du: lvds: Move LVDS enable code to separate code section

To prepare for a rework of the LVDS disable code, which will need to be
called from rcar_lvds_pclk_disable(), move the LVDS enable code,
currently stored in the __rcar_lvds_atomic_enable() function, to a
separate code section separate from bridge operations. It will be then
extended with the LVDS disable code.

As part of this rework the __rcar_lvds_atomic_enable() function is
renamed to rcar_lvds_enable() to more clearly indicate its purpose.

No functional change intended.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>
drivers/gpu/drm/rcar-du/rcar_lvds.c