OSDN Git Service

greybus: kernel_ver.h: add a ' ' character to KERNEL_VERSION()
authorGreg Kroah-Hartman <gregkh@google.com>
Fri, 1 May 2015 19:05:03 +0000 (21:05 +0200)
committerGreg Kroah-Hartman <gregkh@google.com>
Tue, 5 May 2015 09:11:03 +0000 (11:11 +0200)
You should always put a space after a ',', so do it for the
KERNEL_VERSION() macro as well.  This makes checkpatch.pl happy also.

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

index 891090f..83d08da 100644 (file)
@@ -60,7 +60,7 @@
 #include <linux/version.h>
 #include <linux/gpio.h>
 
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)
 static inline void gb_gpiochip_remove(struct gpio_chip *chip)
 {
        gpiochip_remove(chip);
@@ -77,7 +77,7 @@ static inline void gb_gpiochip_remove(struct gpio_chip *chip)
  * ATTRIBUTE_GROUPS showed up in 3.11-rc2, but we need to build on 3.10, so add
  * it here.
  */
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 11, 0)
 #include <linux/sysfs.h>
 
 #define ATTRIBUTE_GROUPS(name)                                 \