rtl8187se: Use a dir under /proc/net/r8180/
authorDavid Howells <dhowells@redhat.com>
Fri, 12 Apr 2013 01:59:48 +0000 (02:59 +0100)
committerAl Viro <viro@zeniv.linux.org.uk>
Wed, 1 May 2013 21:29:41 +0000 (17:29 -0400)
commitc4558a26ff661b5299942ce2b735f3cab4aed1e5
treed3becaf9e414a432136d6f924d5e40c334104796
parent270b5ac2151707c25d3327722c5badfbd95945bc
rtl8187se: Use a dir under /proc/net/r8180/

Create a dir under /proc/net/r8180/ named for the device and create that
device's files under there.  This means that there won't be a problem for
multiple devices in the system (if such is possible) and it means we don't
need to save the 'device directory' PDE any more as we can just do a proc
subtree removal.

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
cc: Maxim Mikityanskiy <maxtram95@gmail.com>
cc: YAMANE Toshiaki <yamanetoshi@gmail.com>
cc: linux-wireless@vger.kernel.org
cc: devel@driverdev.osuosl.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/rtl8187se/r8180.h
drivers/staging/rtl8187se/r8180_core.c