+ gpio-cosmetics-remove-needless-newlines.patch added to -mm tree

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

 



The patch titled

     gpio: cosmetics: remove needless newlines

has been added to the -mm tree.  Its filename is

     gpio-cosmetics-remove-needless-newlines.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: gpio: cosmetics: remove needless newlines
From: Jim Cromie <jim.cromie@xxxxxxxxx>

- 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@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/char/nsc_gpio.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff -puN drivers/char/nsc_gpio.c~gpio-cosmetics-remove-needless-newlines drivers/char/nsc_gpio.c
--- a/drivers/char/nsc_gpio.c~gpio-cosmetics-remove-needless-newlines
+++ a/drivers/char/nsc_gpio.c
@@ -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':
_

Patches currently in -mm which might be from jim.cromie@xxxxxxxxx are

origin.patch
scx200_gpio-1-cdev-for-n-minors-cleanup.patch
scx200_gpio-use-1-cdev-for-n-minors-not-n.patch
gpio-drop-vtable-members-gpio_set_high-gpio_set_low.patch
gpio-cosmetics-remove-needless-newlines.patch
gpio-rename-exported-vtables-to-better-match.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux