diff options
| author | Marek Vasut <[email protected]> | 2020-04-19 03:10:30 +0200 |
|---|---|---|
| committer | marex <[email protected]> | 2020-05-01 12:35:21 +0200 |
| commit | 5b4e7dfb879c4b127f27bd92bac68e114d5e0b70 (patch) | |
| tree | 45f4bcc74790c41b0bea5b336135f7599b6ca0b0 /drivers | |
| parent | 9308df81a206e73687a8ba7a1f1b3753e2f2fd79 (diff) | |
net: dc2114x: Clean up dc21x4x_halt()
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 <[email protected]>
Cc: Joe Hershberger <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/net/dc2114x.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/dc2114x.c b/drivers/net/dc2114x.c index 4d2e11672e1..6fe05113cae 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); |
