net/can: convert drivers/net/can/* to use module_platform_driver()
authorAxel Lin <axel.lin@gmail.com>
Sun, 27 Nov 2011 15:42:31 +0000 (15:42 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 Nov 2011 05:25:05 +0000 (00:25 -0500)
commit871d33725545ca2e402b4526f38f89d041ba930f
treefb52710f1208db2a85d8080c38038c58804c8487
parent0f20f5a7de1ee48ced284e960828017cc2f5d52b
net/can: convert drivers/net/can/* to use module_platform_driver()

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

Cc: Wolfgang Grandegger <wg@grandegger.com>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Bhupesh Sharma <bhupesh.sharma@st.com>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Grant Likely <grant.likely@secretlab.ca>
Cc: Anatolij Gustschin <agust@denx.de>
Cc: Paul Bolle <pebolle@tiscali.nl>
Cc: Kurt Van Dijck <kurt.van.dijck@eia.be>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Acked-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/can/at91_can.c
drivers/net/can/bfin_can.c
drivers/net/can/c_can/c_can_platform.c
drivers/net/can/flexcan.c
drivers/net/can/janz-ican3.c
drivers/net/can/mscan/mpc5xxx_can.c
drivers/net/can/sja1000/sja1000_of_platform.c
drivers/net/can/sja1000/sja1000_platform.c
drivers/net/can/softing/softing_main.c
drivers/net/can/ti_hecc.c