Commit 89fdbef9 authored by Andrew Morton's avatar Andrew Morton Committed by James Toy

ERROR: "foo*bar" should be "foo *bar"

#32: FILE: drivers/gpio/gpiolib.c:339:
+	const struct gpio_chip*chip = dev_get_drvdata(dev);

total: 1 errors, 0 warnings, 37 lines checked

./patches/gpiolib-add-names-file-in-gpio-chip-sysfs.patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

Please run checkpatch prior to sending patches

Cc: Ben Dooks <ben@simtec.co.uk>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 516c3f45
...@@ -336,7 +336,7 @@ static DEVICE_ATTR(ngpio, 0444, chip_ngpio_show, NULL); ...@@ -336,7 +336,7 @@ static DEVICE_ATTR(ngpio, 0444, chip_ngpio_show, NULL);
static ssize_t chip_names_show(struct device *dev, static ssize_t chip_names_show(struct device *dev,
struct device_attribute *attr, char *buf) struct device_attribute *attr, char *buf)
{ {
const struct gpio_chip*chip = dev_get_drvdata(dev); const struct gpio_chip *chip = dev_get_drvdata(dev);
char **names = chip->names; char **names = chip->names;
int ptr = 0; int ptr = 0;
int name; int name;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment