[PATCH 4/5] drm/imx: drop deprecated load/unload drm_driver ops

2016-06-24 Thread Ying Liu
On Fri, Jun 17, 2016 at 8:48 PM, Daniel Vetter wrote: > On Fri, Jun 17, 2016 at 12:13:41PM +0200, Lucas Stach wrote: >> 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. >> >>

[PATCH 4/5] drm/imx: drop deprecated load/unload drm_driver ops

2016-06-17 Thread Daniel Vetter
On Fri, Jun 17, 2016 at 12:13:41PM +0200, Lucas Stach wrote: > 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

[PATCH 4/5] drm/imx: drop deprecated load/unload drm_driver ops

2016-06-17 Thread Lucas Stach
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