gpio: cosmetics - remove needless newlines
PATCH 2/3 gpio: cosmetics - remove needless newlines
2 - pure cosmetics - lose needless newlines.
3 - 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 <[email protected]>
---
$ diffstat diff.cosmetic-1 nsc_gpio.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)
drivers/char/nsc_gpio.c +0 -0
@@ -68,13 +68,11 @@ ssize_t nsc_gpio_write(struct file *file
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':