commit | 75497d96b2094d325594b46d5e5f12b2396c4d51 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Thu Jan 21 13:31:38 2010 +0900 |
committer | Ben Dooks <ben-linux@fluff.org> | Thu Jan 21 14:24:52 2010 +0900 |
tree | 37f8495872006edcb80dcd2b273c8e2c8cdb82e0 | |
parent | bd548e5ef21ac2ff18b262a905543d7a2340fb87 [diff] |
ARM: S3C64XX: Tidy up common code in s3c64xx_spi_set_info() 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>