-
- Downloads
net/ethernet: convert drivers/net/ethernet/* to use module_platform_driver()
This patch converts the drivers in drivers/net/ethernet/* to use the module_platform_driver() macro which makes the code smaller and a bit simpler. Cc: "David S. Miller" <davem@davemloft.net> Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com> Cc: Vitaly Bordug <vbordug@ru.mvista.com> Cc: Wan ZongShun <mcuos.com@gmail.com> Cc: Nicolas Pitre <nico@fluxnic.net> Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com> Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Cc: Jiri Pirko <jpirko@redhat.com> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Alexey Dobriyan <adobriyan@gmail.com> Cc: Tobias Klauser <tklauser@distanz.ch> Cc: Grant Likely <grant.likely@secretlab.ca> Cc: Jiri Kosina <jkosina@suse.cz> Cc: Richard Cochran <richard.cochran@omicron.at> Cc: Jonas Bonn <jonas@southpole.se> Cc: Sebastian Poehn <sebastian.poehn@belden.com> Cc: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Cc: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Cc: "Michał Mirosław" <mirq-linux@rere.qmqm.pl> Signed-off-by:Axel Lin <axel.lin@gmail.com> Acked-by:
Wan ZongShun <mcuos.com@gmail.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/8390/ax88796.c 1 addition, 12 deletionsdrivers/net/ethernet/8390/ax88796.c
- drivers/net/ethernet/aeroflex/greth.c 1 addition, 12 deletionsdrivers/net/ethernet/aeroflex/greth.c
- drivers/net/ethernet/amd/au1000_eth.c 2 additions, 13 deletionsdrivers/net/ethernet/amd/au1000_eth.c
- drivers/net/ethernet/amd/sunlance.c 1 addition, 14 deletionsdrivers/net/ethernet/amd/sunlance.c
- drivers/net/ethernet/broadcom/sb1250-mac.c 1 addition, 12 deletionsdrivers/net/ethernet/broadcom/sb1250-mac.c
- drivers/net/ethernet/dnet.c 1 addition, 12 deletionsdrivers/net/ethernet/dnet.c
- drivers/net/ethernet/ethoc.c 1 addition, 12 deletionsdrivers/net/ethernet/ethoc.c
- drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c 1 addition, 14 deletionsdrivers/net/ethernet/freescale/fs_enet/fs_enet-main.c
- drivers/net/ethernet/freescale/fs_enet/mii-bitbang.c 1 addition, 12 deletionsdrivers/net/ethernet/freescale/fs_enet/mii-bitbang.c
- drivers/net/ethernet/freescale/fs_enet/mii-fec.c 1 addition, 12 deletionsdrivers/net/ethernet/freescale/fs_enet/mii-fec.c
- drivers/net/ethernet/freescale/fsl_pq_mdio.c 1 addition, 10 deletionsdrivers/net/ethernet/freescale/fsl_pq_mdio.c
- drivers/net/ethernet/freescale/gianfar.c 1 addition, 13 deletionsdrivers/net/ethernet/freescale/gianfar.c
- drivers/net/ethernet/freescale/gianfar_ptp.c 1 addition, 15 deletionsdrivers/net/ethernet/freescale/gianfar_ptp.c
- drivers/net/ethernet/korina.c 1 addition, 12 deletionsdrivers/net/ethernet/korina.c
- drivers/net/ethernet/marvell/pxa168_eth.c 1 addition, 12 deletionsdrivers/net/ethernet/marvell/pxa168_eth.c
- drivers/net/ethernet/micrel/ks8842.c 1 addition, 12 deletionsdrivers/net/ethernet/micrel/ks8842.c
- drivers/net/ethernet/micrel/ks8851_mll.c 1 addition, 12 deletionsdrivers/net/ethernet/micrel/ks8851_mll.c
- drivers/net/ethernet/natsemi/jazzsonic.c 1 addition, 12 deletionsdrivers/net/ethernet/natsemi/jazzsonic.c
- drivers/net/ethernet/natsemi/macsonic.c 1 addition, 12 deletionsdrivers/net/ethernet/natsemi/macsonic.c
- drivers/net/ethernet/natsemi/xtsonic.c 1 addition, 12 deletionsdrivers/net/ethernet/natsemi/xtsonic.c
Loading
Please register or sign in to comment