diff options
author | Danilo Krummrich <dakr@redhat.com> | 2022-10-26 17:59:30 +0200 |
---|---|---|
committer | Liviu Dudau <liviu.dudau@arm.com> | 2022-11-16 10:33:39 +0000 |
commit | aefae8719a9aaede5032ca7331fc3cf65fd7ac7f (patch) | |
tree | c78531a1b2c89c398f3d4040ecf3faee61d6b48a /drivers/iommu/tegra-gart.c | |
parent | 0e308efe232afdec35d508f5dfae52f03d50efca (diff) |
drm/arm/malidp: use drmm_* to allocate driver structures
Use drm managed resources to allocate driver structures and get rid of
the deprecated drm_dev_alloc() call and replace it with
devm_drm_dev_alloc().
This also serves as preparation to get rid of drm_device->dev_private
and to fix use-after-free issues on driver unload.
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026155934.125294-2-dakr@redhat.com
Diffstat (limited to 'drivers/iommu/tegra-gart.c')
0 files changed, 0 insertions, 0 deletions