From: Ben Dooks Date: Mon, 1 Dec 2008 21:13:56 +0000 (-0800) Subject: spi: fix spi_s3c24xx_gpio device handle lookup X-Git-Tag: v2.6.28-rc7~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e39ea8a2def1fcb203ed0183317124348962e351;p=pandora-kernel.git spi: fix spi_s3c24xx_gpio device handle lookup The spidev_to_sg() call in spi_s3c24xx_gpio.c was using the wrong method to convert the spi device into the private data for the driver. Fix this by using spi_master_get_devdata. Signed-off-by: Ben Dooks Signed-off-by: David Brownell Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed