net/context: Remove _new suffix on net_context_send/sendto functions

Now that legacy functions are removew, let's rename the new functions by
removing the _new suffix.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
Tomasz Bursztyka 2019-02-20 08:48:36 +01:00 committed by Kumar Gala
commit 172fe5a87b
22 changed files with 173 additions and 177 deletions

View file

@ -183,9 +183,9 @@ ssize_t zcan_sendto_ctx(struct net_context *ctx, const void *buf, size_t len,
can_copy_frame_to_zframe((struct can_frame *)buf, &zframe);
ret = net_context_sendto_new(ctx, (void *)&zframe, sizeof(zframe),
dest_addr, addrlen, NULL, timeout, NULL,
ctx->user_data);
ret = net_context_sendto(ctx, (void *)&zframe, sizeof(zframe),
dest_addr, addrlen, NULL, timeout, NULL,
ctx->user_data);
if (ret < 0) {
errno = -ret;
return -1;