gpio: 74x164: use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 15 Mar 2013 09:17:18 +0000 (18:17 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:13 +0000 (16:05 +0100)
commit6c0cf42be3f8e1039d3f31c2e8e16b4d375527c7
treeb6fa6d305e59309792b1cb75d8a49301d4447b4d
parent30db2bd1c88cedf73e1eb753225249130cc00970
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>
drivers/gpio/gpio-74x164.c