commit | 0469901ea4beaa4a326ffcc9b1d6b5baf9738a42 | [log] [tgz] |
---|---|---|
author | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Aug 02 13:56:04 2017 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Aug 11 10:49:21 2017 +0200 |
tree | 9b4a432e0216c12ac8cbf49374192c504c35a56e | |
parent | 2e45eeac7c1f80a90768e667545591a1e25ff288 [diff] |
drm: Clean up drm_dev_unplug Use drm_dev_unregister to unregister the interfaces, which also allows us to simplify the open_count == 0 case. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Daniel Vetter <daniel.vetter@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20170802115604.12734-5-daniel.vetter@ffwll.ch