diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-04-15 10:39:40 +0300 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2020-04-28 16:08:01 +0300 |
commit | 8558de401b5fbbfb1df96d6986bba3c79cd47401 (patch) | |
tree | 9b4b8ac4dfbca8377e9d0252580dcc9d9527882f /drivers/vhost | |
parent | dd9a68935f93e95a9f9f231e4b2853b897162c85 (diff) | |
download | linux-8558de401b5fbbfb1df96d6986bba3c79cd47401.tar.xz |
drm/vboxvideo: use managed pci functions
Allows us to drop the cleanup code on the floor.
Sam noticed in his review:
> With this change we avoid calling pci_disable_device()
> twise in case vbox_mm_init() fails.
> Once in vbox_hw_fini() and once in the error path.
v2: Include Sam's review remarks
v3: Fix typo in commit summary (Thomas Zimmermann)
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: Hans de Goede <hdegoede@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200415074034.175360-6-daniel.vetter@ffwll.ch
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions