spi: dw-mmio: allow multiple instances
authorBaruch Siach <baruch@tkos.co.il>
Sun, 26 Jan 2014 08:14:32 +0000 (10:14 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 3 Feb 2014 12:19:59 +0000 (12:19 +0000)
commit2418991efb7b1f9fc574771450ac17689682b3f6
tree5a25c0b3b497d9c0fba9db124b4e203388444d00
parent38dbfb59d1175ef458d006556061adeaa8751b72
spi: dw-mmio: allow multiple instances

Use the platform_device id to uniquely identify each SPI master instance.

Cc: Jean-Hugues Deschenes <jean-hugues.deschenes@octasic.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-dw-mmio.c