[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>
This commit is contained in:
Jim Cromie 2006-07-14 00:24:26 -07:00 committed by Linus Torvalds
parent 91e260b80d
commit abecb6da70

View file

@ -68,13 +68,11 @@ ssize_t nsc_gpio_write(struct file *file, const char __user *data,
amp->gpio_config(m, ~1, 0); amp->gpio_config(m, ~1, 0);
break; break;
case 'T': case 'T':
dev_dbg(dev, "GPIO%d output is push pull\n", dev_dbg(dev, "GPIO%d output is push pull\n", m);
m);
amp->gpio_config(m, ~2, 2); amp->gpio_config(m, ~2, 2);
break; break;
case 't': case 't':
dev_dbg(dev, "GPIO%d output is open drain\n", dev_dbg(dev, "GPIO%d output is open drain\n", m);
m);
amp->gpio_config(m, ~2, 0); amp->gpio_config(m, ~2, 0);
break; break;
case 'P': case 'P':