From: David Howells Date: Fri, 12 Apr 2013 15:15:07 +0000 (+0100) Subject: drm: proc: Use remove_proc_subtree() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~74^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bc742e13fb2c9cd64988816749295e9ddf53101;p=pandora-kernel.git drm: proc: Use remove_proc_subtree() Use remove_proc_subtree() rather than remove_proc_entry() to remove a minor-specific drm proc directory and all its children. Things could theoretically be improved by storing the drm_minor pointer in the minor-specific dir proc_dir_entry struct data and then scrapping the list of proc files - but that's shared with the debugfs interface where you can't do that, so I don't see an easy way of doing it. Signed-off-by: David Howells cc: dri-devel@lists.freedesktop.org Signed-off-by: Al Viro --- Reading git-diff-tree failed