diff options
author | Emil Velikov <emil.velikov@collabora.com> | 2018-10-23 17:35:49 +0100 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2018-10-25 13:25:58 +0100 |
commit | f08877e79485897aa1093514daa668cc5b728418 (patch) | |
tree | fe2a02248e6000ef264d34bc6a9e38412cf97a94 /Documentation | |
parent | drm/vgem: Fix vgem_init to get drm device available. (diff) | |
download | linux-dev-f08877e79485897aa1093514daa668cc5b728418.tar.xz linux-dev-f08877e79485897aa1093514daa668cc5b728418.zip |
drm: BUG_ON if passing NULL parent to drm_dev_init
Previous commit removed the only reason why we were allowing NULL as
a parent device. With that resolved, we can enforce nobody else does
that mistake.
With that we can drop the ugly drm_dev_set_unique workaround.
v2: rebase, silence checkpatch "== NULL" warning
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Deepak Sharma <deepak.sharma@amd.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20181023163550.15211-2-emil.l.velikov@gmail.com
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions