spi: coldfire-qspi: Fix getting correct address for *mcfqspi
authorAxel Lin <axel.lin@ingics.com>
Fri, 14 Feb 2014 01:53:00 +0000 (09:53 +0800)
committerMark Brown <broonie@linaro.org>
Wed, 5 Mar 2014 03:53:08 +0000 (11:53 +0800)
commitee73b4c6e3fc0755a91752ab8eebc8e070038b53
tree3e59ef561d6a2f78c05530818c6db7a1969a94b2
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: coldfire-qspi: Fix getting correct address for *mcfqspi

dev_get_drvdata() returns the address of master rather than mcfqspi.

Fixes: af361079 (spi/coldfire-qspi: Drop extra calls to spi_master_get in suspend/resume functions)
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
drivers/spi/spi-coldfire-qspi.c