diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-09-04 16:39:18 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-09-11 10:47:19 +0200 |
commit | 90ad200b4cbc92e160c3f3331bb999f87cc0fbfd (patch) | |
tree | 017db61caafe6482805aafccfe4a49da80d65953 /drivers/parisc/iommu-helpers.h | |
parent | 8c3c818c23a5bbce6ff180dd2ee04415241df77c (diff) | |
download | linux-90ad200b4cbc92e160c3f3331bb999f87cc0fbfd.tar.gz linux-90ad200b4cbc92e160c3f3331bb999f87cc0fbfd.tar.bz2 linux-90ad200b4cbc92e160c3f3331bb999f87cc0fbfd.zip |
drm/armada: Use devm_drm_dev_alloc
Also remove the now no longer needed build bug on since that's already
not needed anymore with drmm_add_final_kfree. Conversion to managed
drm_device cleanup is easy, the final drm_dev_put() is already the
last thing in both the bind unbind as in the unbind flow.
Also, this relies on component.c correctly wrapping bind&unbind in
separate devres groups, which it does.
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Cc: Russell King <linux@armlinux.org.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20200904143941.110665-2-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/parisc/iommu-helpers.h')
0 files changed, 0 insertions, 0 deletions