net: ieee802154: mrf24j40: use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 5 Apr 2013 20:34:18 +0000 (20:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sun, 7 Apr 2013 20:48:18 +0000 (16:48 -0400)
commit4fa0a0ef292a416210018a1074c7b5056773d649
tree067569387c2000ed2bb51e8f5f406177c84a77cb
parent58152cd46f88ea3fb2e518511b8367454b12296a
net: ieee802154: mrf24j40: use spi_get_drvdata() and spi_set_drvdata()

Use the wrapper functions for getting and setting the driver data using
spi_device instead of using dev_{get|set}_drvdata with &spi->dev, so we
can directly pass a struct spi_device.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ieee802154/mrf24j40.c