]> git.karo-electronics.de Git - mv-sheeva.git/commit
spi: Use void pointers for data in simple SPI I/O operations
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 10 May 2011 22:09:30 +0000 (00:09 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 20 May 2011 06:43:07 +0000 (00:43 -0600)
commit0c4a1590189b426814748d2e03b95541852b3af6
treeb4b1d2eee1ea2b5d1700df4519e182cca816607b
parent521999bd4a8c47a86136b9d8223a9480f5906db8
spi: Use void pointers for data in simple SPI I/O operations

Currently the simple SPI I/O operations all take pointers to u8 * buffers
to operate on. This creates needless type compatibility issues and the
underlying spi_transfer structure uses void pointers anyway so convert the
API over to take void pointers too.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi.c
include/linux/spi/spi.h