commit | 493294d4a82470c44bf7ac9b21b901fb3e56dc3b | [log] [tgz] |
---|---|---|
author | Jingoo Han <jg1.han@samsung.com> | Fri Mar 15 18:17:54 2013 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Wed Mar 27 16:05:14 2013 +0100 |
tree | 3b6ee80c0b77dd25afd7487a3f4f133e1c82d39f | |
parent | 6c0cf42be3f8e1039d3f31c2e8e16b4d375527c7 [diff] |
gpio: mc33880: 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>