commit | fce5c293ff4462cee4e7090ed1763c414cc7d8bb | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Fri Apr 05 20:35:14 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 07 16:48:18 2013 -0400 |
tree | d89189ef04bb3925c4b72b51ff51d3b5905d9a08 | |
parent | 4fa0a0ef292a416210018a1074c7b5056773d649 [diff] |
net: can: mcp251x: 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>