]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx: imx-ldb: move initialization into probe
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 10 Dec 2020 15:38:34 +0000 (16:38 +0100)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 4 Jan 2021 11:59:33 +0000 (12:59 +0100)
commit34820c4b982fa9d755b2baa1f8dbab1a7d9226a3
tree0ac2a711f779bec619b8459cd0a21a180844466b
parentc699e73ad72dd2d8e368307b2ca8d1e46897341c
drm/imx: imx-ldb: 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 encoders.

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