ARM: S3C64XX: Tidy up common code in s3c64xx_spi_set_info()
authorBen Dooks <ben-linux@fluff.org>
Thu, 21 Jan 2010 04:31:38 +0000 (13:31 +0900)
committerBen Dooks <ben-linux@fluff.org>
Thu, 21 Jan 2010 05:24:52 +0000 (14:24 +0900)
The s3c64xx_spi_set_info() sets one of two platform data structures depending
on which controller is being specified. Change to taking a pointer to the
relevant platform data structure and then having one set of code to place
the data into the area being pointed to.

Cc: Jassi Brar <jassi.brar@samsung.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>

No differences found