Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 368884
b: refs/heads/master
c: 4fa0a0e
h: refs/heads/master
v: v3
  • Loading branch information
Jingoo Han authored and David S. Miller committed Apr 7, 2013
1 parent be6d861 commit ac62132
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: 58152cd46f88ea3fb2e518511b8367454b12296a
refs/heads/master: 4fa0a0ef292a416210018a1074c7b5056773d649
6 changes: 3 additions & 3 deletions trunk/drivers/net/ieee802154/mrf24j40.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ static int mrf24j40_probe(struct spi_device *spi)
init_completion(&devrec->tx_complete);
INIT_WORK(&devrec->irqwork, mrf24j40_isrwork);
devrec->spi = spi;
dev_set_drvdata(&spi->dev, devrec);
spi_set_drvdata(spi, devrec);

/* Register with the 802154 subsystem */

Expand Down Expand Up @@ -720,7 +720,7 @@ static int mrf24j40_probe(struct spi_device *spi)

static int mrf24j40_remove(struct spi_device *spi)
{
struct mrf24j40 *devrec = dev_get_drvdata(&spi->dev);
struct mrf24j40 *devrec = spi_get_drvdata(spi);

dev_dbg(printdev(devrec), "remove\n");

Expand All @@ -732,7 +732,7 @@ static int mrf24j40_remove(struct spi_device *spi)
* complete? */

/* Clean up the SPI stuff. */
dev_set_drvdata(&spi->dev, NULL);
spi_set_drvdata(spi, NULL);
kfree(devrec->buf);
kfree(devrec);
return 0;
Expand Down

0 comments on commit ac62132

Please sign in to comment.