summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/kernel_ver.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@google.com>2015-05-01 21:05:03 +0200
committerGreg Kroah-Hartman <gregkh@google.com>2015-05-05 11:11:03 +0200
commit3906a59c96ac770d54728d2cbd6564cda3b2cdd9 (patch)
treed9580f8c40d5d2a886c09cea0609df36cd1a8a4d /drivers/staging/greybus/kernel_ver.h
parent99a4bd5902224065debff524624800bd9806419e (diff)
greybus: kernel_ver.h: add a ' ' character to KERNEL_VERSION()
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>
Diffstat (limited to 'drivers/staging/greybus/kernel_ver.h')
-rw-r--r--drivers/staging/greybus/kernel_ver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/greybus/kernel_ver.h b/drivers/staging/greybus/kernel_ver.h
index 891090f67e28..83d08dad6c14 100644
--- a/drivers/staging/greybus/kernel_ver.h
+++ b/drivers/staging/greybus/kernel_ver.h
@@ -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) \