diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-01-29 15:55:48 +0400 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-03-16 15:25:18 +0400 |
commit | bd9dfa98187f6cb671e60d9df0801378e8a99ad9 (patch) | |
tree | 39e6cc83731019d8e2aa930ba3d3168c90135cc2 /scripts/gdb/linux/utils.py | |
parent | 05b701f6f60201c9906167351cce50db2e9db7ae (diff) | |
download | linux-bd9dfa98187f6cb671e60d9df0801378e8a99ad9.tar.xz |
drm: move drm_put_minor() to drm_minor_free()
_put/get() are used for ref-counting, which we clearly don't do here.
Rename it to _free() and also use the common drm_minor_* prefix.
Furthermore, avoid passing the minor directly but instead use the type
like the other functions do, this allows us to reset the slot.
We also drop the redundant call to drm_unplug_minor() as drm_minor_free()
is only used from paths were that has already be called.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions