[alsa-devel] [PATCH 00/11] Remove unnecessary casts of pci_get_drvdata
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(-)
Signed-off-by: Joe Perches joe@perches.com --- sound/pci/asihpi/hpioctl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/pci/asihpi/hpioctl.c b/sound/pci/asihpi/hpioctl.c index 62895a7..22dbd91 100644 --- a/sound/pci/asihpi/hpioctl.c +++ b/sound/pci/asihpi/hpioctl.c @@ -435,7 +435,7 @@ void __devexit asihpi_adapter_remove(struct pci_dev *pci_dev) struct hpi_message hm; struct hpi_response hr; struct hpi_adapter *pa; - pa = (struct hpi_adapter *)pci_get_drvdata(pci_dev); + pa = pci_get_drvdata(pci_dev);
hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, HPI_SUBSYS_DELETE_ADAPTER);
At Mon, 15 Nov 2010 12:14:02 -0800, Joe Perches wrote:
Signed-off-by: Joe Perches joe@perches.com
Applied this one, too. Thanks.
Takashi
sound/pci/asihpi/hpioctl.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/sound/pci/asihpi/hpioctl.c b/sound/pci/asihpi/hpioctl.c index 62895a7..22dbd91 100644 --- a/sound/pci/asihpi/hpioctl.c +++ b/sound/pci/asihpi/hpioctl.c @@ -435,7 +435,7 @@ void __devexit asihpi_adapter_remove(struct pci_dev *pci_dev) struct hpi_message hm; struct hpi_response hr; struct hpi_adapter *pa;
- pa = (struct hpi_adapter *)pci_get_drvdata(pci_dev);
pa = pci_get_drvdata(pci_dev);
hpi_init_message_response(&hm, &hr, HPI_OBJ_SUBSYSTEM, HPI_SUBSYS_DELETE_ADAPTER);
-- 1.7.3.1.g432b3.dirty
participants (2)
-
Joe Perches
-
Takashi Iwai