]> git.baikalelectronics.ru Git - kernel.git/commit
drm/v3d: Use devm_drm_dev_alloc
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Apr 2020 07:39:43 +0000 (09:39 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 28 Apr 2020 13:15:46 +0000 (15:15 +0200)
commit618f43905c07e60f08bca69c3d29f6a69eedbdcd
tree29550ff226c2bf2edf2d1adb23c5f08bdb190fce
parent77c21033f237f16299dbfe98846c879253013124
drm/v3d: Use devm_drm_dev_alloc

Also allows us to simplify the unroll code since the drm_dev_put
disappears.

Acked-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20200415074034.175360-9-daniel.vetter@ffwll.ch
drivers/gpu/drm/v3d/v3d_drv.c