diff options
author | David Howells <dhowells@redhat.com> | 2013-04-12 15:15:07 (GMT) |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-01 21:29:44 (GMT) |
commit | 8bc742e13fb2c9cd64988816749295e9ddf53101 (patch) | |
tree | 725f9b2fe765e5632ec19950660277af89643901 /drivers/bus/omap-ocp2scp.c | |
parent | b63e6aa5028dfde3b360945564290de28b47c2d7 (diff) | |
download | linux-fsl-qoriq-8bc742e13fb2c9cd64988816749295e9ddf53101.tar.xz |
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 <dhowells@redhat.com>
cc: dri-devel@lists.freedesktop.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/bus/omap-ocp2scp.c')
0 files changed, 0 insertions, 0 deletions