From: David Herrmann Date: Sun, 20 Oct 2013 16:55:40 +0000 (+0200) Subject: drm: call drm_unplug_minor() from drm_put_minor() X-Git-Tag: v3.13-rc1~76^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f73aca50b7f6e0f3e04d887f852b9f8b0e108fa7;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed