diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2013-10-20 18:55:40 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2013-11-06 14:52:51 +1000 |
commit | f73aca50b7f6e0f3e04d887f852b9f8b0e108fa7 (patch) | |
tree | 65c094572c8989e5edbec7e2a16c187c725f2fb8 /include/drm/drmP.h | |
parent | 02ee4e9455456a9bc9ee94d30eef78fc610922c1 (diff) | |
download | op-kernel-dev-f73aca50b7f6e0f3e04d887f852b9f8b0e108fa7.zip op-kernel-dev-f73aca50b7f6e0f3e04d887f852b9f8b0e108fa7.tar.gz |
drm: call drm_unplug_minor() from drm_put_minor()
This protects drm_unplug_minor() against repeated calls so we can use it
in drm_put_minor(). This allows us to further simplify it in follow-ups as
we no longer do minor-destruction in both functions but only in
drm_unplug_minor().
Also add kernel-doc comments about what these calls do.
[airlied: fixup for changes to kdev stuff]
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'include/drm/drmP.h')
0 files changed, 0 insertions, 0 deletions