]> git.karo-electronics.de Git - linux-beck.git/commit
drm/imx: drop deprecated load/unload drm_driver ops
authorLucas Stach <l.stach@pengutronix.de>
Thu, 11 Aug 2016 09:18:48 +0000 (11:18 +0200)
committerPhilipp Zabel <p.zabel@pengutronix.de>
Mon, 29 Aug 2016 10:45:05 +0000 (12:45 +0200)
commit54db5decce17b3258475a011a00b9c5c51c57a35
tree2a60d0b2b9504fdab514e23004279efe7be60c84
parent73cde76a61b622e768af23b0e0062dc39e6891bf
drm/imx: drop deprecated load/unload drm_driver ops

Drop the load/unload driver ops, as they are deprecated because of their
inherent races, with devices being visible to userspace before they are
fully initialized.

Move this code into the driver bind/unbind routines bracketed by the
proper drm_dev_alloc/register and drm_dev_unregister/unref calls.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
drivers/gpu/drm/imx/imx-drm-core.c