linux-i2c.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/11] Remove unnecessary casts of pci_get_drvdata
@ 2010-11-15 20:13 Joe Perches
  2010-11-15 20:13 ` [PATCH 01/11] drivers/i2c/busses/i2c-nforce2.c: " Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2010-11-15 20:13 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA,
	linux-ide-u79uwXL29TY76Z2rM5mHXA,
	linux-media-u79uwXL29TY76Z2rM5mHXA, netdev-u79uwXL29TY76Z2rM5mHXA,
	linux-scsi-u79uwXL29TY76Z2rM5mHXA,
	devel-gWbeCf7V1WCQmaza687I9mD2FQJk+8+b,
	linux-usb-u79uwXL29TY76Z2rM5mHXA,
	alsa-devel-K7yf7f+aM1XWsZ/bQMPhNw

Joe Perches (11):
  drivers/i2c/busses/i2c-nforce2.c: Remove unnecessary casts of pci_get_drvdata
  drivers/ide/pmac.c: Remove unnecessary casts of pci_get_drvdata
  drivers/media/dvb/ngene/ngene-core.c: Remove unnecessary casts of pci_get_drvdata
  drivers/misc/ibmasm/module.c: Remove unnecessary casts of pci_get_drvdata
  drivers/net/irda: Remove unnecessary casts of pci_get_drvdata
  drivers/net/s2io.c: Remove unnecessary casts of pci_get_drvdata
  drivers/net/vxge/vxge-main.c: Remove unnecessary casts of pci_get_drvdata
  drivers/scsi/be2iscsi/be_main.c: Remove unnecessary casts of pci_get_drvdata
  drivers/staging: Remove unnecessary casts of pci_get_drvdata
  drivers/usb/host/uhci-hcd.c: Remove unnecessary casts of pci_get_drvdata
  sound/pci/asihpi/hpioctl.c: Remove unnecessary casts of pci_get_drvdata

 drivers/i2c/busses/i2c-nforce2.c          |    2 +-
 drivers/ide/pmac.c                        |    4 ++--
 drivers/media/dvb/ngene/ngene-core.c      |    2 +-
 drivers/misc/ibmasm/module.c              |    2 +-
 drivers/net/irda/donauboe.c               |    6 +++---
 drivers/net/irda/vlsi_ir.c                |    2 +-
 drivers/net/s2io.c                        |    3 +--
 drivers/net/vxge/vxge-main.c              |   28 ++++++++++++----------------
 drivers/scsi/be2iscsi/be_main.c           |    2 +-
 drivers/staging/crystalhd/crystalhd_lnx.c |    6 +++---
 drivers/staging/et131x/et131x_initpci.c   |    2 +-
 drivers/staging/wlags49_h2/wl_pci.c       |    2 +-
 drivers/usb/host/uhci-hcd.c               |    2 +-
 sound/pci/asihpi/hpioctl.c                |    2 +-
 14 files changed, 30 insertions(+), 35 deletions(-)

-- 
1.7.3.1.g432b3.dirty

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 01/11] drivers/i2c/busses/i2c-nforce2.c: Remove unnecessary casts of pci_get_drvdata
  2010-11-15 20:13 [PATCH 00/11] Remove unnecessary casts of pci_get_drvdata Joe Perches
@ 2010-11-15 20:13 ` Joe Perches
       [not found]   ` <8202cea15da761f594353ae6906e1414b1f1f152.1289851770.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Joe Perches @ 2010-11-15 20:13 UTC (permalink / raw)
  To: Jiri Kosina
  Cc: Jean Delvare (PC drivers, core), Ben Dooks (embedded platforms),
	linux-i2c, linux-kernel

Signed-off-by: Joe Perches <joe@perches.com>
---
 drivers/i2c/busses/i2c-nforce2.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c
index a605a50..ff1e127 100644
--- a/drivers/i2c/busses/i2c-nforce2.c
+++ b/drivers/i2c/busses/i2c-nforce2.c
@@ -432,7 +432,7 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_
 
 static void __devexit nforce2_remove(struct pci_dev *dev)
 {
-	struct nforce2_smbus *smbuses = (void*) pci_get_drvdata(dev);
+	struct nforce2_smbus *smbuses = pci_get_drvdata(dev);
 
 	nforce2_set_reference(NULL);
 	if (smbuses[0].base) {
-- 
1.7.3.1.g432b3.dirty

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 01/11] drivers/i2c/busses/i2c-nforce2.c: Remove unnecessary casts of pci_get_drvdata
       [not found]   ` <8202cea15da761f594353ae6906e1414b1f1f152.1289851770.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
@ 2010-11-15 21:06     ` Jean Delvare
  0 siblings, 0 replies; 3+ messages in thread
From: Jean Delvare @ 2010-11-15 21:06 UTC (permalink / raw)
  To: Joe Perches
  Cc: Jiri Kosina, Ben Dooks (embedded platforms),
	linux-i2c-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA

On Mon, 15 Nov 2010 12:13:52 -0800, Joe Perches wrote:
> Signed-off-by: Joe Perches <joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
> ---
>  drivers/i2c/busses/i2c-nforce2.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-nforce2.c b/drivers/i2c/busses/i2c-nforce2.c
> index a605a50..ff1e127 100644
> --- a/drivers/i2c/busses/i2c-nforce2.c
> +++ b/drivers/i2c/busses/i2c-nforce2.c
> @@ -432,7 +432,7 @@ static int __devinit nforce2_probe(struct pci_dev *dev, const struct pci_device_
>  
>  static void __devexit nforce2_remove(struct pci_dev *dev)
>  {
> -	struct nforce2_smbus *smbuses = (void*) pci_get_drvdata(dev);
> +	struct nforce2_smbus *smbuses = pci_get_drvdata(dev);
>  
>  	nforce2_set_reference(NULL);
>  	if (smbuses[0].base) {

Applied, thanks.

-- 
Jean Delvare

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-11-15 21:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-15 20:13 [PATCH 00/11] Remove unnecessary casts of pci_get_drvdata Joe Perches
2010-11-15 20:13 ` [PATCH 01/11] drivers/i2c/busses/i2c-nforce2.c: " Joe Perches
     [not found]   ` <8202cea15da761f594353ae6906e1414b1f1f152.1289851770.git.joe-6d6DIl74uiNBDgjK7y7TUQ@public.gmane.org>
2010-11-15 21:06     ` Jean Delvare

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).