commit | 6c0cf42be3f8e1039d3f31c2e8e16b4d375527c7 | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Fri Mar 15 18:17:18 2013 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 27 16:05:13 2013 +0100 |
tree | b6fa6d305e59309792b1cb75d8a49301d4447b4d | |
parent | 30db2bd1c88cedf73e1eb753225249130cc00970 [diff] |
gpio: 74x164: 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: Linus Walleij <linus.walleij@linaro.org>