greybus: fix an error message
authorAlex Elder <elder@linaro.org>
Wed, 3 Dec 2014 18:27:41 +0000 (12:27 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Wed, 3 Dec 2014 23:08:17 +0000 (15:08 -0800)
The error message printed by gb_operation_sync() if the operation
fails is wrong.  Fix it.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c

index c62f200..109b94f 100644 (file)
@@ -939,7 +939,7 @@ int gb_operation_sync(struct gb_connection *connection, int type,
 
        ret = gb_operation_request_send_sync(operation);
        if (ret)
-               pr_err("version operation failed (%d)\n", ret);
+               pr_err("synchronous operation failed (%d)\n", ret);
        else
                if (response_size)
                        memcpy(response, operation->response->payload,