mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
Dan noticed some issues with pci_release_region, this builds upon that and fixes some other lingering issues. As part of this we also can stop trying to manually free our managed device; there's no need for it, it will be cleaned up automatically for us. Fixes:8772c0bb58("drm/vmwgfx: Cleanup pci resource allocation") Signed-off-by: Zack Rusin <[email protected]> Reviewed-by: Martin Krastev <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]> Reported-by: kernel test robot <[email protected]> Reported-by: Dan Carpenter <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected] (cherry picked from commit75ec69c79e) Signed-off-by: Maarten Lankhorst <[email protected]>