Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] gpio: cosmetics: remove needless newlines

- pure cosmetics: lose needless newlines.

- rename EXPORTed gpio vtables from {scx200,pc8736x}_access to _gpio_ops new
name is much closer to the vtable-name struct nsc_gpio_ops, should be
clearer. Also rename the _fops vtable var to _fileops to better
disambiguate it from the gpio vtable.

Signed-off-by: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Jim Cromie and committed by
Linus Torvalds
abecb6da 91e260b8

+2 -4
+2 -4
drivers/char/nsc_gpio.c
··· 68 68 amp->gpio_config(m, ~1, 0); 69 69 break; 70 70 case 'T': 71 - dev_dbg(dev, "GPIO%d output is push pull\n", 72 - m); 71 + dev_dbg(dev, "GPIO%d output is push pull\n", m); 73 72 amp->gpio_config(m, ~2, 2); 74 73 break; 75 74 case 't': 76 - dev_dbg(dev, "GPIO%d output is open drain\n", 77 - m); 75 + dev_dbg(dev, "GPIO%d output is open drain\n", m); 78 76 amp->gpio_config(m, ~2, 0); 79 77 break; 80 78 case 'P':