]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: parallel-display: move initialization into probe
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 10 Dec 2020 15:38:39 +0000 (16:38 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Jan 2021 11:59:33 +0000 (12:59 +0100)
commitafdbc2fc2fe24bd4409283017c9d73a0afd63e93
treef1bee554dc3c216558fde6bde8ef3fd1ad3546f6
parent9566b11ee00db5a726d13ba4517754d9efd3504a
drm/imx: parallel-display: move initialization into probe

Parts of the initialization that do not require the drm device can be
done once during probe instead of possibly multiple times during bind.
The bind function only creates the encoder.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/imx/parallel-display.c