summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/microchip/enc28j60.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2013-04-06 00:35:43 +0400
committerDavid S. Miller <davem@davemloft.net>2013-04-08 00:48:18 +0400
commit8f996607824dba3c808bb7ed3f8f82670120383e (patch)
treea4863bee65163e8729488f9843f619e25b0835cd /drivers/net/ethernet/microchip/enc28j60.c
parentfce5c293ff4462cee4e7090ed1763c414cc7d8bb (diff)
downloadlinux-8f996607824dba3c808bb7ed3f8f82670120383e.tar.xz
net: ethernet: ks8851: 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>
Diffstat (limited to 'drivers/net/ethernet/microchip/enc28j60.c')
0 files changed, 0 insertions, 0 deletions