From 45311439daf0d706e4e96aec13132b5e3009edb3 Mon Sep 17 00:00:00 2001 From: David Kershner Date: Wed, 30 Aug 2017 13:36:28 -0400 Subject: [PATCH] staging: unisys: visorchipset: Shorten parser_init_byte_stream. Shorten the name of the function parser_init_byte_stream to just parser_init_stream. Signed-off-by: David Kershner Reviewed-by: Tim Sell Signed-off-by: Greg Kroah-Hartman --- drivers/staging/unisys/visorbus/visorchipset.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/staging/unisys/visorbus/visorchipset.c b/drivers/staging/unisys/visorbus/visorchipset.c index b30e3a14b24c..1f7c6bfbdecf 100644 --- a/drivers/staging/unisys/visorbus/visorchipset.c +++ b/drivers/staging/unisys/visorbus/visorchipset.c @@ -1449,8 +1449,8 @@ static void parser_done(struct parser_context *ctx) kfree(ctx); } -static struct parser_context *parser_init_byte_stream(u64 addr, u32 bytes, - bool *retry) +static struct parser_context *parser_init_stream(u64 addr, u32 bytes, + bool *retry) { int allocbytes; struct parser_context *ctx; @@ -1523,8 +1523,7 @@ static int handle_command(struct controlvm_message inmsg, u64 channel_addr) if (parm_bytes) { bool retry = false; - parser_ctx = - parser_init_byte_stream(parm_addr, parm_bytes, &retry); + parser_ctx = parser_init_stream(parm_addr, parm_bytes, &retry); if (!parser_ctx && retry) return -EAGAIN; } -- 2.20.1