staging: greybus: log: Fix up some alignment checkpatch issues
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 05:54:25 +0000 (07:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 Aug 2019 17:02:50 +0000 (19:02 +0200)
Some function prototypes do not match the expected alignment formatting
so fix that up so that checkpatch is happy.

Cc: David Lin <dtwlin@gmail.com>
Cc: Johan Hovold <johan@kernel.org>
Cc: greybus-dev@lists.linaro.org
Cc: devel@driverdev.osuosl.org
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Alex Elder <elder@kernel.org>
Link: https://lore.kernel.org/r/20190825055429.18547-6-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/greybus/log.c

index 15a88574dbb02759d44572c98b4c0b273ae63f01..4f1f161ff11c41ca031aeb022133bd06366d9cc2 100644 (file)
@@ -31,14 +31,14 @@ static int gb_log_request_handler(struct gb_operation *op)
        /* Verify size of payload */
        if (op->request->payload_size < sizeof(*receive)) {
                dev_err(dev, "log request too small (%zu < %zu)\n",
-                               op->request->payload_size, sizeof(*receive));
+                       op->request->payload_size, sizeof(*receive));
                return -EINVAL;
        }
        receive = op->request->payload;
        len = le16_to_cpu(receive->len);
        if (len != (op->request->payload_size - sizeof(*receive))) {
                dev_err(dev, "log request wrong size %d vs %zu\n", len,
-                               (op->request->payload_size - sizeof(*receive)));
+                       (op->request->payload_size - sizeof(*receive)));
                return -EINVAL;
        }
        if (len == 0) {
@@ -83,7 +83,7 @@ static int gb_log_probe(struct gb_bundle *bundle,
                return -ENOMEM;
 
        connection = gb_connection_create(bundle, le16_to_cpu(cport_desc->id),
-                       gb_log_request_handler);
+                                         gb_log_request_handler);
        if (IS_ERR(connection)) {
                retval = PTR_ERR(connection);
                goto error_free;