From: David Herrmann Date: Wed, 29 Jan 2014 11:55:48 +0000 (+0100) Subject: drm: move drm_put_minor() to drm_minor_free() X-Git-Tag: v3.15-rc1~51^2~56^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd9dfa98187f6cb671e60d9df0801378e8a99ad9;p=pandora-kernel.git 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 Reviewed-by: Daniel Vetter --- Reading git-diff-tree failed