From: Ben Dooks Date: Thu, 21 Jan 2010 04:31:38 +0000 (+0900) Subject: ARM: S3C64XX: Tidy up common code in s3c64xx_spi_set_info() X-Git-Tag: v2.6.34-rc2~66^2~54^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=75497d96b2094d325594b46d5e5f12b2396c4d51;p=pandora-kernel.git 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 Signed-off-by: Ben Dooks --- Reading git-diff-tree failed