Skip to content
Commit 7995bd13 authored by Qinglang Miao's avatar Qinglang Miao Committed by Daniel Vetter
Browse files

drm/vkms: add missing platform_device_unregister() in vkms_init()



When vkms_init() get into out_put, the unregister call of
vkms_device->platform is missing. So add it before return.

Fixes: ac19f140 ("drm/vkms: Use drmm_add_final_kfree")
Signed-off-by: default avatarQinglang Miao <miaoqinglang@huawei.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20200810130011.187691-1-miaoqinglang@huawei.com
parent 57fb5408
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment