commit | d60c5d205094218bf7e6277ee9f8ddf90f8c1624 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Fri Apr 05 20:36:47 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 07 16:48:19 2013 -0400 |
tree | 9364bb71e0f3a248852c690de286ac4afaa90898 | |
parent | c49b05ac2cb2c0176e4ddb17ccd81bb28eb95cf3 [diff] |
net: wireless: p54spi: 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>