Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abecb6da authored by Jim Cromie's avatar Jim Cromie Committed by Linus Torvalds
Browse files

[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: default avatarJim Cromie <jim.cromie@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 91e260b8
Loading
Loading
Loading
Loading
+2 −4
Original line number Original line Diff line number Diff line
@@ -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':