]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
drm: rename drm_unplug/get_minor() to drm_minor_register/unregister()
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 29 Jan 2014 11:57:05 +0000 (12:57 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 16 Mar 2014 11:25:18 +0000 (12:25 +0100)
commitafcdbc867460b7ee4119bf4904e60f0e171c6dfb
treea467a391c5dea20bbdcdde74921cbe938dfa1819
parentbd9dfa98187f6cb671e60d9df0801378e8a99ad9
drm: rename drm_unplug/get_minor() to drm_minor_register/unregister()

drm_get_minor() no longer allocates objects, and drm_unplug_minor() is now
the exact reverse of it. Rename it to _register/unregister() so their
name actually says what they do.

Furthermore, remove the direct minor-ptr and instead pass the minor-type.
This way we know the actual slot of the minor and can reset it if
required.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_stub.c