drm/vkms: replace macro in vkms_release()
Replace macro in vkms_release() Signed-off-by: Beatriz Martins de Carvalho <martinsdecarvalhobeatriz@gmail.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210706154510.224695-1-martinsdecarvalhobeatriz@gmail.com
This commit is contained in:
parent
0b066a6809
commit
1a3c195974
@ -52,7 +52,7 @@ DEFINE_DRM_GEM_FOPS(vkms_driver_fops);
|
||||
|
||||
static void vkms_release(struct drm_device *dev)
|
||||
{
|
||||
struct vkms_device *vkms = container_of(dev, struct vkms_device, drm);
|
||||
struct vkms_device *vkms = drm_device_to_vkms_device(dev);
|
||||
|
||||
destroy_workqueue(vkms->output.composer_workq);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user