]> git.openfabrics.org - ~emulex/infiniband.git/commit
net/tokenring: use module_pci_driver
authorAxel Lin <axel.lin@gmail.com>
Fri, 13 Apr 2012 18:40:17 +0000 (18:40 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Apr 2012 19:20:04 +0000 (15:20 -0400)
commita680b30a53668e299d487117ded7b76a069abc77
tree3451e8d16542b4b2a8e9537ccf60ddeb01e08b6d
parent7f83560df2b51d41fbc77c7b204b3f5c2ad6765a
net/tokenring: use module_pci_driver

This patch converts the drivers in drivers/net/tokenring/* to use
module_pci_driver() macro which makes the code smaller and a bit simpler.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/3c359.c
drivers/net/tokenring/lanstreamer.c
drivers/net/tokenring/olympic.c
drivers/net/tokenring/tmspci.c