Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 228116
b: refs/heads/master
c: 345594d
h: refs/heads/master
v: v3
  • Loading branch information
Joe Perches authored and Greg Kroah-Hartman committed Nov 16, 2010
1 parent 77e6f00 commit c471e25
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 859171ca92f2865453b4b2e17bf679c67044a833
refs/heads/master: 345594d6ef696b8ad4b96cffe462c6cde2f27292
6 changes: 3 additions & 3 deletions trunk/drivers/staging/crystalhd/crystalhd_lnx.c
Original file line number Diff line number Diff line change
Expand Up @@ -516,7 +516,7 @@ static void __devexit chd_dec_pci_remove(struct pci_dev *pdev)

BCMLOG_ENTER;

pinfo = (struct crystalhd_adp *) pci_get_drvdata(pdev);
pinfo = pci_get_drvdata(pdev);
if (!pinfo) {
BCMLOG_ERR("could not get adp\n");
return;
Expand Down Expand Up @@ -626,7 +626,7 @@ int chd_dec_pci_suspend(struct pci_dev *pdev, pm_message_t state)
struct crystalhd_ioctl_data *temp;
enum BC_STATUS sts = BC_STS_SUCCESS;

adp = (struct crystalhd_adp *)pci_get_drvdata(pdev);
adp = pci_get_drvdata(pdev);
if (!adp) {
BCMLOG_ERR("could not get adp\n");
return -ENODEV;
Expand Down Expand Up @@ -660,7 +660,7 @@ int chd_dec_pci_resume(struct pci_dev *pdev)
enum BC_STATUS sts = BC_STS_SUCCESS;
int rc;

adp = (struct crystalhd_adp *)pci_get_drvdata(pdev);
adp = pci_get_drvdata(pdev);
if (!adp) {
BCMLOG_ERR("could not get adp\n");
return -ENODEV;
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/et131x/et131x_initpci.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ static void __devexit et131x_pci_remove(struct pci_dev *pdev)
/* Retrieve the net_device pointer from the pci_dev struct, as well
* as the private adapter struct
*/
netdev = (struct net_device *) pci_get_drvdata(pdev);
netdev = pci_get_drvdata(pdev);
adapter = netdev_priv(netdev);

/* Perform device cleanup */
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/staging/wlags49_h2/wl_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ void __devexit wl_pci_remove(struct pci_dev *pdev)
return;
}

dev = (struct net_device *)pci_get_drvdata( pdev );
dev = pci_get_drvdata( pdev );
if( dev == NULL ) {
DBG_ERROR( DbgInfo, "Could not retrieve net_device structure\n" );
return;
Expand Down

0 comments on commit c471e25

Please sign in to comment.