hostap: proc: Use remove_proc_subtree()
authorDavid Howells <dhowells@redhat.com>
Fri, 12 Apr 2013 15:20:47 +0000 (16:20 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 May 2013 21:29:45 +0000 (17:29 -0400)
commit819695abb762a625d2ef8f2a6fbf6debeec35b61
tree85af2268d0c1e399cbb1e252133e1cb8a445e436
parent8bc742e13fb2c9cd64988816749295e9ddf53101
hostap: proc: Use remove_proc_subtree()

Use remove_proc_subtree() rather than remove_proc_entry() to remove a
device-specific proc directory and all its children.

Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jouni Malinen <j@w1.fi>
cc: Johannes Berg <johannes@sipsolutions.net>
cc: linux-wireless@vger.kernel.org
cc: devel@driverdev.osuosl.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/net/wireless/hostap/hostap_proc.c