- gpio-drop-vtable-members-gpio_set_high-gpio_set_low.patch removed from -mm tree

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

 



The patch titled

     gpio: drop vtable members .gpio_set_high .gpio_set_low gpio_set is enough

has been removed from the -mm tree.  Its filename is

     gpio-drop-vtable-members-gpio_set_high-gpio_set_low.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: gpio: drop vtable members .gpio_set_high .gpio_set_low gpio_set is enough
From: Jim Cromie <jim.cromie@xxxxxxxxx>

drops gpio_set_high, gpio_set_low from the nsc_gpio_ops vtable.  While we
can't drop them from scx200_gpio (or can we?), we dont need them for new users
of the exported vtable; gpio_set(1), gpio_set(0) work fine.

Signed-off-by: Jim Cromie <jim.cromie@xxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/char/pc8736x_gpio.c |    2 --
 drivers/char/scx200_gpio.c  |    2 --
 include/linux/nsc_gpio.h    |    2 --
 3 files changed, 6 deletions(-)

diff -puN drivers/char/pc8736x_gpio.c~gpio-drop-vtable-members-gpio_set_high-gpio_set_low drivers/char/pc8736x_gpio.c
--- a/drivers/char/pc8736x_gpio.c~gpio-drop-vtable-members-gpio_set_high-gpio_set_low
+++ a/drivers/char/pc8736x_gpio.c
@@ -218,8 +218,6 @@ static struct nsc_gpio_ops pc8736x_acces
 	.gpio_dump	= nsc_gpio_dump,
 	.gpio_get	= pc8736x_gpio_get,
 	.gpio_set	= pc8736x_gpio_set,
-	.gpio_set_high	= pc8736x_gpio_set_high,
-	.gpio_set_low	= pc8736x_gpio_set_low,
 	.gpio_change	= pc8736x_gpio_change,
 	.gpio_current	= pc8736x_gpio_current
 };
diff -puN drivers/char/scx200_gpio.c~gpio-drop-vtable-members-gpio_set_high-gpio_set_low drivers/char/scx200_gpio.c
--- a/drivers/char/scx200_gpio.c~gpio-drop-vtable-members-gpio_set_high-gpio_set_low
+++ a/drivers/char/scx200_gpio.c
@@ -41,8 +41,6 @@ struct nsc_gpio_ops scx200_access = {
 	.gpio_dump	= nsc_gpio_dump,
 	.gpio_get	= scx200_gpio_get,
 	.gpio_set	= scx200_gpio_set,
-	.gpio_set_high	= scx200_gpio_set_high,
-	.gpio_set_low	= scx200_gpio_set_low,
 	.gpio_change	= scx200_gpio_change,
 	.gpio_current	= scx200_gpio_current
 };
diff -puN include/linux/nsc_gpio.h~gpio-drop-vtable-members-gpio_set_high-gpio_set_low include/linux/nsc_gpio.h
--- a/include/linux/nsc_gpio.h~gpio-drop-vtable-members-gpio_set_high-gpio_set_low
+++ a/include/linux/nsc_gpio.h
@@ -25,8 +25,6 @@ struct nsc_gpio_ops {
 	void	(*gpio_dump)	(struct nsc_gpio_ops *amp, unsigned iminor);
 	int	(*gpio_get)	(unsigned iminor);
 	void	(*gpio_set)	(unsigned iminor, int state);
-	void	(*gpio_set_high)(unsigned iminor);
-	void	(*gpio_set_low)	(unsigned iminor);
 	void	(*gpio_change)	(unsigned iminor);
 	int	(*gpio_current)	(unsigned iminor);
 	struct device*	dev;	/* for dev_dbg() support, set in init  */
_

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


-
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