[ patch -mm1 02/03 ] gpio: cosmetics - remove needless newlines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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(-)


diff -ruNp -X dontdiff -X exclude-diffs a0-nohilo/drivers/char/nsc_gpio.c a0-1-cosmetic/drivers/char/nsc_gpio.c
--- a0-nohilo/drivers/char/nsc_gpio.c	2006-07-12 09:18:19.000000000 -0600
+++ a0-1-cosmetic/drivers/char/nsc_gpio.c	2006-07-12 10:27:46.000000000 -0600
@@ -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':


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux