net/wan: use module_pci_driver
authorAxel Lin <axel.lin@gmail.com>
Fri, 13 Apr 2012 18:41:21 +0000 (18:41 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Apr 2012 19:20:04 +0000 (15:20 -0400)
commiteff98db027c50f1e4ad14f1d9069d55e5f7e4319
tree6688b906abe22d29ff83ac0ac89150fcc80d0abe
parenta680b30a53668e299d487117ded7b76a069abc77
net/wan: use module_pci_driver

This patch converts the drivers in drivers/net/wan/* 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: Francois Romieu <romieu@fr.zoreil.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wan/dscc4.c
drivers/net/wan/lmc/lmc_main.c