summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/arm/malidp_mw.c
diff options
context:
space:
mode:
authorDanilo Krummrich <dakr@redhat.com>2022-10-26 17:59:30 +0200
committerLiviu Dudau <liviu.dudau@arm.com>2022-11-16 10:33:39 +0000
commitaefae8719a9aaede5032ca7331fc3cf65fd7ac7f (patch)
treec78531a1b2c89c398f3d4040ecf3faee61d6b48a /drivers/gpu/drm/arm/malidp_mw.c
parent0e308efe232afdec35d508f5dfae52f03d50efca (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/gpu/drm/arm/malidp_mw.c')
0 files changed, 0 insertions, 0 deletions