can: mcp251x: Use module_spi_driver
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 12 Mar 2013 12:13:52 +0000 (13:13 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Wed, 27 Mar 2013 12:07:09 +0000 (13:07 +0100)
commit01b88070753482fb1a94ab70e7ee348634055009
tree3da3881ff57f2659e66a61cd3b38399b4aefa692
parent4c2e33f00cbfd8ccc9921e5655b768eb54327bb7
can: mcp251x: Use module_spi_driver

By using module_spi_driver we can eliminate a few lines of boilerplate code.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/mcp251x.c