[PATCH 1/4] macb: whitespace cleanup

Hubert Feurstein h.feurstein at gmail.com
Fri Sep 9 07:45:44 EDT 2011


Signed-off-by: Hubert Feurstein <h.feurstein at gmail.com>
---
 drivers/net/macb.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/net/macb.c b/drivers/net/macb.c
index 95ad3d7..9e5ce8b 100644
--- a/drivers/net/macb.c
+++ b/drivers/net/macb.c
@@ -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);
-- 
1.7.4.1




More information about the barebox mailing list