summaryrefslogtreecommitdiff
path: root/mm/pgtable-generic.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-10 23:33:48 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-05-11 15:56:03 +0200
commit6e28f976ec73aec688bf89a63ac719ba765e9360 (patch)
tree577b6bc78be727a4c6843cbe7e1e9778028e782a /mm/pgtable-generic.c
parent063b7cc43fb2413238095b81f9b4a2ee2c52056b (diff)
downloadlinux-next-6e28f976ec73aec688bf89a63ac719ba765e9360.tar.gz
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 <broonie@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'mm/pgtable-generic.c')
0 files changed, 0 insertions, 0 deletions