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 <marek.vasut+renesas@gmail.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
This commit is contained in:
Marek Vasut 2020-04-19 03:10:30 +02:00 committed by marex
parent 9308df81a2
commit 5b4e7dfb87

View file

@ -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);