]> 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)
commit3a7209d99c65b31f9c01cb326e077ac8e39c0f68
tree0ac2a711f779bec619b8459cd0a21a180844466b
parente56572de43627503b7ff398663651be79664fdf7
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