]> 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)
commitdcb1f87579c6cf4dd72be9146c84070f2d8051a0
treef1bee554dc3c216558fde6bde8ef3fd1ad3546f6
parenta7fd520db728beb8c5660af3606b1e857f1e5b09
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