public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [ patch -mm1 02/03 ] gpio: cosmetics - remove needless newlines
@ 2006-07-12 17:21 Jim Cromie
  0 siblings, 0 replies; only message in thread
From: Jim Cromie @ 2006-07-12 17:21 UTC (permalink / raw)
  To: Linux kernel, Andrew Morton


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  <jim.cromie@gmail.com>

---

$ 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':



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-07-12 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-12 17:21 [ patch -mm1 02/03 ] gpio: cosmetics - remove needless newlines Jim Cromie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox