Skip to content
Commit ec3e00b4 authored by Lucas De Marchi's avatar Lucas De Marchi
Browse files

drm/i915: stop registering if drm_dev_register() fails



If drm_dev_register() fails there is no reason to continue registering
the driver and initializing.

Signed-off-by: default avatarLucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20210213042756.953007-1-lucas.demarchi@intel.com
parent 29b6f88d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment