staging: vboxvideo: Update driver to use drm_dev_register.

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 <fdr@pid42.net>
Reviewed-by: Nicholas Mc Guire <der.herr@hofr.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Fabio Rafael da Rosa 2018-06-03 23:24:45 -03:00 • committed by Greg Kroah-Hartman
commit 1daddbc8de
4 changed files with 32 additions and 7 deletions