projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9308df8
)
net: dc2114x: Clean up dc21x4x_halt()
author
Marek Vasut
<marek.vasut+renesas@gmail.com>
Sun, 19 Apr 2020 01:10:30 +0000
(
03:10
+0200)
committer
marex
<marex@desktop.lan>
Fri, 1 May 2020 10:35:21 +0000
(12:35 +0200)
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@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/dc2114x.c
patch
|
blob
|
history
diff --git
a/drivers/net/dc2114x.c
b/drivers/net/dc2114x.c
index 4d2e11672e131a37c975549537f22f5bf0e7fa01..6fe05113cae667ec44051784a976ee17634e67f2 100644
(file)
--- 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);