]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: unisys: visorchipset: Shorten parser_init_byte_stream.
authorDavid Kershner <david.kershner@unisys.com>
Wed, 30 Aug 2017 17:36:28 +0000 (13:36 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 31 Aug 2017 16:17:40 +0000 (18:17 +0200)
Shorten the name of the function parser_init_byte_stream to just
parser_init_stream.

Signed-off-by: David Kershner <david.kershner@unisys.com>
Reviewed-by: Tim Sell <timothy.sell@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorchipset.c

index b30e3a14b24ccf41cf7dc015fb523b11f470f40a..1f7c6bfbdecf332859e8b8eebd9e0fd0872cc556 100644 (file)
@@ -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;
        }