mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/4] macb: whitespace cleanup
@ 2011-09-09 11:45 Hubert Feurstein
  0 siblings, 0 replies; only message in thread
From: Hubert Feurstein @ 2011-09-09 11:45 UTC (permalink / raw)
  To: barebox

Signed-off-by: Hubert Feurstein <h.feurstein@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


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-09 11:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-09 11:45 [PATCH 1/4] macb: whitespace cleanup Hubert Feurstein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox