diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-11 14:52:18 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-02-12 10:24:08 +0100 |
commit | 81da8c3b8d3df6f05b11300b7d17ccd1f3017fab (patch) | |
tree | e6d8187d9d279bdecdfbaf2db1fd466dfa3c8897 /drivers/gpio | |
parent | e62bf83aa1bb9d9953eec2e3663528c766b148ea (diff) | |
download | linux-81da8c3b8d3df6f05b11300b7d17ccd1f3017fab.tar.bz2 |
drm/bochs: add drm_driver.release callback.
Call bochs_unload via drm_driver.release to make sure we release stuff
when it is safe to do so. Use drm_dev_{enter,exit,unplug} to avoid
touching hardware after device removal. Tidy up here and there.
v4: add changelog.
v3: use drm_dev_*().
v2: move hardware deinit to pci_remove().
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: http://patchwork.freedesktop.org/patch/msgid/20200211135218.22871-1-kraxel@redhat.com
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions