net: cosmetic: Fix checkpatch.pl failures in net.c
Finish eliminating CamelCase from net.c and other failures
Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Simon Glass <sjg@chromium.org>
diff --git a/net/rarp.c b/net/rarp.c
index 204e03c..4ce2f37 100644
--- a/net/rarp.c
+++ b/net/rarp.c
@@ -59,9 +59,9 @@
{
if (rarp_try >= TIMEOUT_COUNT) {
puts("\nRetry count exceeded; starting again\n");
- NetStartAgain();
+ net_start_again();
} else {
- NetSetTimeout(TIMEOUT, rarp_timeout_handler);
+ net_set_timeout_handler(TIMEOUT, rarp_timeout_handler);
rarp_request();
}
}
@@ -95,5 +95,5 @@
net_send_packet(net_tx_packet, eth_hdr_size + ARP_HDR_SIZE);
- NetSetTimeout(TIMEOUT, rarp_timeout_handler);
+ net_set_timeout_handler(TIMEOUT, rarp_timeout_handler);
}