gpio: mc33880: use spi_get_drvdata() and spi_set_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Fri, 15 Mar 2013 09:17:54 +0000 (18:17 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:14 +0000 (16:05 +0100)
commit493294d4a82470c44bf7ac9b21b901fb3e56dc3b
tree3b6ee80c0b77dd25afd7487a3f4f133e1c82d39f
parent6c0cf42be3f8e1039d3f31c2e8e16b4d375527c7
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>
drivers/gpio/gpio-mc33880.c
This page took 0.025186 seconds and 5 git commands to generate.