macb: whitespace cleanup
PATCH 1/4 macb: whitespace cleanup
Signed-off-by Hubert Feurstein <[email protected]>
--- drivers/net/macb.c | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-)
drivers/net/macb.c +6 -6
@@ -392,7 +392,7 @@ static int macb_get_ethaddr(struct eth_device *edev, unsigned char *adr)static int macb_set_ethaddr (struct eth_device *edev,unsigned char *adr) { -struct macb_device *macb = edev->priv; +struct macb_device *macb = edev->priv;debug ("%s\n" , __func__);
@@ -442,7 +442,7 @@ static int macb_probe(struct device_d *dev) macb->miidev.edev = edev; macb->flags = pdata->flags; - macb->rx_buffer =xmalloc (CFG_MACB_RX_BUFFER_SIZE ); + macb->rx_buffer =xmalloc (CFG_MACB_RX_BUFFER_SIZE ); macb->rx_ring =xmalloc (CFG_MACB_RX_RING_SIZE *sizeof (struct macb_dma_desc )); macb->tx_ring =xmalloc (sizeof (struct macb_dma_desc ));
@@ -477,15 +477,15 @@ static int macb_probe(struct device_d *dev) }static struct driver_d macb_driver = { - .name ="macb" , - .probe = macb_probe, + .name ="macb" , + .probe = macb_probe, };static int macb_driver_init (void ) {debug ("%s\n" , __func__); -register_driver (&macb_driver); -return 0 ; +register_driver (&macb_driver); +return 0 ; }device_initcall (macb_driver_init);
Signature · 7 lines
1.7.4.1 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox