mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 15:49:42 -04:00
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>
This commit is contained in:
@@ -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) \
|
||||
|
||||
Reference in New Issue
Block a user