diff options
| author | Danilo Krummrich <[email protected]> | 2022-10-26 15:34:28 +0000 |
|---|---|---|
| committer | Liviu Dudau <[email protected]> | 2022-11-07 20:47:33 +0000 |
| commit | 9914013fe65647b5c0afc732da1adc9bc62a0a26 (patch) | |
| tree | 8541ab95277ba847eda0fc3644e2ca9dd2826aba /drivers/gpu/drm/arm/hdlcd_crtc.c | |
| parent | drm/sun4i: dsi: Add the A100 variant (diff) | |
| download | kernel-9914013fe65647b5c0afc732da1adc9bc62a0a26.tar.gz kernel-9914013fe65647b5c0afc732da1adc9bc62a0a26.zip | |
drm/arm/hdlcd: 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 <[email protected]>
Signed-off-by: Liviu Dudau <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/arm/hdlcd_crtc.c')
0 files changed, 0 insertions, 0 deletions
