net/can: use module_pci_driver
authorAxel Lin <axel.lin@gmail.com>
Sat, 14 Apr 2012 04:38:43 +0000 (12:38 +0800)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 16 Apr 2012 19:08:18 +0000 (21:08 +0200)
commitfb7944b36931d77ea2cde061ff714415ef6e4cef
tree3d2cf39d8d7d607d0d482783f311841cb3f2424d
parenta75afd4770d401186b130b2bbb58ad23d4d01ae3
net/can: use module_pci_driver

This patch converts the drivers in drivers/net/can/* 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: Wolfgang Grandegger <wg@grandegger.com>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: linux-can@vger.kernel.org
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/pch_can.c
drivers/net/can/sja1000/ems_pci.c
drivers/net/can/sja1000/kvaser_pci.c
drivers/net/can/sja1000/peak_pci.c
drivers/net/can/sja1000/plx_pci.c