diff options
author | David Herrmann <dh.herrmann@gmail.com> | 2014-01-29 12:57:05 +0100 |
---|---|---|
committer | David Herrmann <dh.herrmann@gmail.com> | 2014-03-16 12:25:18 +0100 |
commit | afcdbc867460b7ee4119bf4904e60f0e171c6dfb (patch) | |
tree | a467a391c5dea20bbdcdde74921cbe938dfa1819 /drivers/acpi/fan.c | |
parent | bd9dfa98187f6cb671e60d9df0801378e8a99ad9 (diff) | |
download | blackbird-op-linux-afcdbc867460b7ee4119bf4904e60f0e171c6dfb.tar.gz blackbird-op-linux-afcdbc867460b7ee4119bf4904e60f0e171c6dfb.zip |
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>
Diffstat (limited to 'drivers/acpi/fan.c')
0 files changed, 0 insertions, 0 deletions