mirror of
https://github.com/adulau/aha.git
synced 2024-12-30 20:56:23 +00:00
[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:
parent
91e260b80d
commit
abecb6da70
1 changed files with 2 additions and 4 deletions
|
@ -68,13 +68,11 @@ ssize_t nsc_gpio_write(struct file *file, const char __user *data,
|
|||
amp->gpio_config(m, ~1, 0);
|
||||
break;
|
||||
case 'T':
|
||||
dev_dbg(dev, "GPIO%d output is push pull\n",
|
||||
m);
|
||||
dev_dbg(dev, "GPIO%d output is push pull\n", m);
|
||||
amp->gpio_config(m, ~2, 2);
|
||||
break;
|
||||
case 't':
|
||||
dev_dbg(dev, "GPIO%d output is open drain\n",
|
||||
m);
|
||||
dev_dbg(dev, "GPIO%d output is open drain\n", m);
|
||||
amp->gpio_config(m, ~2, 0);
|
||||
break;
|
||||
case 'P':
|
||||
|
|
Loading…
Reference in a new issue