summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas
diff options
context:
space:
mode:
authorMichal Schmidt <mschmidt@redhat.com>2007-03-16 12:44:40 +0100
committerJeff Garzik <jeff@garzik.org>2007-04-28 11:01:00 -0400
commitaf5b5c9aa92ced95fca509e775aec90933f8959d (patch)
treeb053d2f524a0b3b437f89d6f38e1aecb6e3bbb7f /drivers/net/wireless/libertas
parentfd48f8d3a3e147e666d838194d5f9de64403ecb1 (diff)
downloadblackbird-op-linux-af5b5c9aa92ced95fca509e775aec90933f8959d.tar.gz
blackbird-op-linux-af5b5c9aa92ced95fca509e775aec90933f8959d.zip
[PATCH] airo: Make /sys/bus/pci/drivers/airo/{,un}bind work
The way airo.c keeps track of all its devices is complicated and buggy as well (del_airo_dev forgets to free the memory add_airo_dev allocates). It's cleaner to use the standard list primitives. While we're at it, it's not necessary to put PCI cards in the list, because the kernel already keeps track of them. We can take advantage of it and use the .remove callback as it was meant to be. This makes /sys/bus/pci/drivers/airo/{,un}bind work. Signed-off-by: Michal Schmidt <mschmidt@redhat.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud