spi: use platform_{get,set}_drvdata()
authorJingoo Han <jg1.han@samsung.com>
Thu, 23 May 2013 10:20:40 +0000 (19:20 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 May 2013 14:09:55 +0000 (09:09 -0500)
commit24b5a82cf5709a4bc577f42fdaa61b23a7f58f08
tree39c17c904a2ac67c8b76b9edccf1da00f3620998
parentc7788792a5e7b0d5d7f96d0766b4cb6112d47d75
spi: use platform_{get,set}_drvdata()

Use the wrapper functions for getting and setting the driver data using
platform_device instead of using dev_{get,set}_drvdata() with &pdev->dev,
so we can directly pass a struct platform_device.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
15 files changed:
drivers/spi/spi-davinci.c
drivers/spi/spi-fsl-spi.c
drivers/spi/spi-mpc52xx-psc.c
drivers/spi/spi-mpc52xx.c
drivers/spi/spi-omap-100k.c
drivers/spi/spi-omap-uwire.c
drivers/spi/spi-omap2-mcspi.c
drivers/spi/spi-orion.c
drivers/spi/spi-ppc4xx.c
drivers/spi/spi-rspi.c
drivers/spi/spi-sh-hspi.c
drivers/spi/spi-sh.c
drivers/spi/spi-tegra114.c
drivers/spi/spi-tegra20-sflash.c
drivers/spi/spi-tegra20-slink.c