spi/qspi: set correct platform drvdata in ti_qspi_probe()
authorWei Yongjun <yongjun_wei@trendmicro.com.cn>
Mon, 11 Nov 2013 06:13:41 +0000 (14:13 +0800)
committerMark Brown <broonie@linaro.org>
Sun, 24 Nov 2013 14:15:10 +0000 (14:15 +0000)
commit160a061301c7adf54c40696e7ceedc73f6b747dd
tree5405d300a44d0f2c76ee0b0a17691dbe0fcbca58
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae
spi/qspi: set correct platform drvdata in ti_qspi_probe()

The ti_qspi_remove() use the platform drvdata as a type of
struct ti_qspi, we should pass correct platform drvdata to
platform_set_drvdata() in ti_qspi_probe().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-ti-qspi.c