From: Marek Vasut Date: Sun, 19 Apr 2020 01:10:30 +0000 (+0200) Subject: net: dc2114x: Clean up dc21x4x_halt() X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=5b4e7dfb879c4b127f27bd92bac68e114d5e0b70;p=u-boot.git 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 Cc: Joe Hershberger --- 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);