diff options
author | Danilo Krummrich <dakr@redhat.com> | 2022-10-26 17:34:29 +0200 |
---|---|---|
committer | Liviu Dudau <liviu.dudau@arm.com> | 2022-11-07 20:47:34 +0000 |
commit | 5f56e596dd7562c04137eed1f220703ad7111087 (patch) | |
tree | d050d73f80b03a477d4923d55e2f774f5f61359b /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 9914013fe65647b5c0afc732da1adc9bc62a0a26 (diff) |
drm/arm/hdlcd: replace drm->dev_private with drm_to_hdlcd_priv()
Using drm_device->dev_private is deprecated. Since we've switched to
devm_drm_dev_alloc(), struct drm_device is now embedded in struct
hdlcd_drm_private, hence we can use container_of() to get the struct
drm_device instance instead.
Signed-off-by: Danilo Krummrich <dakr@redhat.com>
Signed-off-by: Liviu Dudau <liviu.dudau@arm.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20221026153431.72033-3-dakr@redhat.com
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions