summaryrefslogtreecommitdiffstats
path: root/net/cdp.c
diff options
context:
space:
mode:
authorJoe Hershberger <joe.hershberger@ni.com>2015-04-08 01:41:21 -0500
committerSimon Glass <sjg@chromium.org>2015-04-18 11:11:35 -0600
commitbc0571fc1067ff8a8fd16990ae65c1a2826ea90c (patch)
tree1381f5ebd824a415652755afd5adc65d362071b9 /net/cdp.c
parenta34f2075633d7928e2988193b0caba5854e6ef20 (diff)
downloadtalos-obmc-uboot-bc0571fc1067ff8a8fd16990ae65c1a2826ea90c.tar.gz
talos-obmc-uboot-bc0571fc1067ff8a8fd16990ae65c1a2826ea90c.zip
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>
Diffstat (limited to 'net/cdp.c')
-rw-r--r--net/cdp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/cdp.c b/net/cdp.c
index d8df3ea017..f9ccf53231 100644
--- a/net/cdp.c
+++ b/net/cdp.c
@@ -224,14 +224,14 @@ static void cdp_timeout_handler(void)
cdp_seq++;
if (cdp_seq < 3) {
- NetSetTimeout(CDP_TIMEOUT, cdp_timeout_handler);
+ net_set_timeout_handler(CDP_TIMEOUT, cdp_timeout_handler);
cdp_send_trigger();
return;
}
/* if not OK try again */
if (!cdp_ok)
- NetStartAgain();
+ net_start_again();
else
net_set_state(NETLOOP_SUCCESS);
}
@@ -357,7 +357,7 @@ void cdp_start(void)
cdp_native_vlan = htons(-1);
cdp_appliance_vlan = htons(-1);
- NetSetTimeout(CDP_TIMEOUT, cdp_timeout_handler);
+ net_set_timeout_handler(CDP_TIMEOUT, cdp_timeout_handler);
cdp_send_trigger();
}
OpenPOWER on IntegriCloud