[PATCH v3] staging: vboxvideo: Update driver to use drm_dev_register.

2018-06-03 Thread Fabio Rafael da Rosa
The use of load and unload hooks is deprecated. DRM drivers should use drm_dev_alloc|drm_dev_init and drm_dev_register for initialization and publishing. Signed-off-by: Fabio Rafael da Rosa Reviewed-by: Nicholas Mc Guire --- Changes in v2: - Replace drm_dev_unref (also depretated) by

[PATCH v2] staging: vboxvideo: Update driver to use drm_dev_register.

2018-06-02 Thread Fabio Rafael da Rosa
The use of load and unload hooks is deprecated. DRM drivers should use drm_dev_alloc|drm_dev_init and drm_dev_register for initialization and publishing. Signed-off-by: Fabio Rafael da Rosa Reviewed-by: Nicholas Mc Guire --- Changes in v2: - Replace dev_dev_unref (also depretated) by

Re: [PATCH] staging: vboxvideo: Update driver to use drm_dev_register.

2018-06-02 Thread Fabio Rafael da Rosa
On 2018-06-02 09:15, Nicholas Mc Guire wrote: On Sat, Jun 02, 2018 at 08:41:44AM -0300, Fabio Rafael da Rosa wrote: The use of load and unload hooks is deprecated. DRM drivers should use drm_dev_alloc|drm_dev_init and drm_dev_register for initialization and publishing. Signed-off-by: Fabio

[PATCH] staging: vboxvideo: Update driver to use drm_dev_register.

2018-06-02 Thread Fabio Rafael da Rosa
The use of load and unload hooks is deprecated. DRM drivers should use drm_dev_alloc|drm_dev_init and drm_dev_register for initialization and publishing. Signed-off-by: Fabio Rafael da Rosa --- drivers/staging/vboxvideo/TODO| 1 - drivers/staging/vboxvideo/vbox_drv.c | 33