spi: s3c64xx: pass DMA arguments in platform data
authorArnd Bergmann <arnd@arndb.de>
Wed, 18 Nov 2015 14:21:32 +0000 (15:21 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 18 Nov 2015 17:52:38 +0000 (17:52 +0000)
commita0067db36a2f9733a2e956a44ef8145e6a809bdb
treeb76e540559f2806c327a8aeee731ac96573b4fa7
parent8005c49d9aea74d382f474ce11afbbc7d7130bec
spi: s3c64xx: pass DMA arguments in platform data

The s3c64xx platform data already contains a pointer to the
DMA filter function, but not to the associated data.

This simplifies the code and makes it more generic by
passing the data along with the filter function like
we do for other drivers.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
arch/arm/plat-samsung/devs.c
drivers/spi/spi-s3c64xx.c
include/linux/platform_data/spi-s3c64xx.h