From: Mark Brown Date: Tue, 10 May 2011 21:33:48 +0000 (+0200) Subject: ASoC: Use spi_write() for SPI writes X-Git-Tag: v3.0-rc1~347^2~1^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e28f976ec73aec688bf89a63ac719ba765e9360;p=pandora-kernel.git ASoC: Use spi_write() for SPI writes do_spi_write() is just an open coded copy of do_spi_write() so we can delete it and just call spi_write() directly. Indeed, as a result of recent refactoring all the SPI write functions are just very long wrappers around spi_write() which don't add anything except for some pointless copies so we can just use spi_write() as the hw_write operation directly. It should be as type safe to do this as it is to do the same thing with I2C and it saves us a bunch of code. Signed-off-by: Mark Brown Acked-by: Liam Girdwood --- Reading git-diff-tree failed