OSDN Git Service

greybus: protocol.h: fix up long lines in define_get_version()
authorGreg Kroah-Hartman <gregkh@google.com>
Fri, 1 May 2015 19:06:12 +0000 (21:06 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 5 May 2015 09:11:04 +0000 (11:11 +0200)
No need to go past 80 characters for the define_get_version macro, so
fix up the indentation to not do so.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/staging/greybus/protocol.h

index d16a582..495d13a 100644 (file)
@@ -110,10 +110,10 @@ static int get_version(struct __device *dev)              \
        struct gb_protocol_version_response response;   \
        int retval;                                     \
                                                        \
-       retval = gb_protocol_get_version(dev->connection,                       \
-                                        GB_##__protocol##_TYPE_PROTOCOL_VERSION,\
-                                        NULL, 0, &response,                    \
-                                        GB_##__protocol##_VERSION_MAJOR);      \
+       retval = gb_protocol_get_version(dev->connection,               \
+                               GB_##__protocol##_TYPE_PROTOCOL_VERSION,\
+                               NULL, 0, &response,                     \
+                               GB_##__protocol##_VERSION_MAJOR);       \
        if (retval)                                     \
                return retval;                          \
                                                        \