[PATCH 04/11] net: dc2114x: Clean up dc21x4x_halt()

Marek Vasut marek.vasut at gmail.com
Sun Apr 19 04:09:50 CEST 2020


Clean up the driver halt code to bring it up to standards with
U-Boot coding style. No functional change.

Signed-off-by: Marek Vasut <marek.vasut+renesas at gmail.com>
Cc: Joe Hershberger <joe.hershberger at ni.com>
---
 drivers/net/dc2114x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c
index 4d2e11672e..6fe05113ca 100644
--- a/drivers/net/dc2114x.c
+++ b/drivers/net/dc2114x.c
@@ -386,9 +386,9 @@ static int dc21x4x_recv(struct eth_device *dev)
 	return length;
 }
 
-static void dc21x4x_halt(struct eth_device* dev)
+static void dc21x4x_halt(struct eth_device *dev)
 {
-	int		devbusfn = (int) dev->priv;
+	int devbusfn = (int)dev->priv;
 
 	STOP_DE4X5(dev);
 	OUTL(dev, 0, DE4X5_SICR);
-- 
2.25.1



More information about the U-Boot mailing list