]> git.baikalelectronics.ru Git - kernel.git/commit
drm/gma500: Managed device release
authorThomas Zimmermann <tzimmermann@suse.de>
Mon, 20 Sep 2021 14:10:51 +0000 (16:10 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Thu, 23 Sep 2021 07:40:47 +0000 (09:40 +0200)
commit4a6c028f96a05c010a8158a151c52801e6c819e2
tree26ffb6a27878e9aa498d38e3cc28616f9bf5ba54
parentdee0f0e67efa8537042b6b1a0a2a7e38c6009bb1
drm/gma500: Managed device release

Set up a clean-up action to automatically release device resources
during driver shutdown. Remove manual release code.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210920141051.30988-6-tzimmermann@suse.de
drivers/gpu/drm/gma500/psb_drv.c