commit | 5743756161518f279ad0bd21437713f7bc3f0a81 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Fri Apr 05 20:36:11 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 07 16:48:19 2013 -0400 |
tree | a562cc4914867938faf2fec7bb110953745fed98 | |
parent | 8f996607824dba3c808bb7ed3f8f82670120383e [diff] |
net: ethernet: enc28j60: 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>