commit | e39ea8a2def1fcb203ed0183317124348962e351 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Mon Dec 01 13:13:56 2008 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Dec 01 19:55:24 2008 -0800 |
tree | 1ddef2aacf3149111ef12cd4f0e4e4b1712c7a34 | |
parent | 4e253d23003b54c88d0919d6088be74f00eec3c7 [diff] |
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 <ben-linux@fluff.org> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>