summaryrefslogtreecommitdiff
path: root/drivers/staging/wlags49_h2/wl_cs.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-24 17:24:40 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-08-24 17:24:40 (GMT)
commit76e1f486b2e6775bba31118b362e01ea6033a0e6 (patch)
treea74cc07da3ca613e4b23166bb020444e47a5ea2c /drivers/staging/wlags49_h2/wl_cs.c
parent917ea9a3e1133841d1b1a496fa93036729cbf5c2 (diff)
downloadlinux-fsl-qoriq-76e1f486b2e6775bba31118b362e01ea6033a0e6.tar.xz
staging: wlags49_h2: remove sysfs file
The sysfs file in this driver is showing a raft of debugging values, none of which belong in sysfs, let alone in a single sysfs file. If these really need to be described somewhere, they should go into debugfs. For now, just delete the sysfs file, which removes a bunch of files from the tree. Cc: Henk de Groot <pe1dnn@amsat.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wlags49_h2/wl_cs.c')
-rw-r--r--drivers/staging/wlags49_h2/wl_cs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/wlags49_h2/wl_cs.c b/drivers/staging/wlags49_h2/wl_cs.c
index b55dc43..a458705 100644
--- a/drivers/staging/wlags49_h2/wl_cs.c
+++ b/drivers/staging/wlags49_h2/wl_cs.c
@@ -99,7 +99,6 @@
#include <wl_main.h>
#include <wl_netdev.h>
#include <wl_cs.h>
-#include <wl_sysfs.h>
/*******************************************************************************
@@ -178,7 +177,6 @@ static void wl_adapter_detach(struct pcmcia_device *link)
wl_adapter_release(link);
if (dev) {
- unregister_wlags_sysfs(dev);
unregister_netdev(dev);
wl_device_dealloc(dev);
}
@@ -265,8 +263,6 @@ int wl_adapter_insert(struct pcmcia_device *link)
goto failed;
}
- register_wlags_sysfs(dev);
-
printk(KERN_INFO "%s: Wireless, io_addr %#03lx, irq %d, mac_address"
" %pM\n", dev->name, dev->base_addr, dev->irq, dev->dev_addr);