]> git.baikalelectronics.ru Git - kernel.git/commit
spi: Kill superfluous cast in spi_w8r16()
authorGeert Uytterhoeven <geert+renesas@linux-m68k.org>
Sun, 12 Jan 2014 12:59:06 +0000 (13:59 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 13 Jan 2014 11:20:21 +0000 (11:20 +0000)
commit4a6d5e8687933c42cd194ae40b747f6bc4cccd0a
tree522c4a4866d1ddf5e4cb1215cd7f9b77380ecb78
parent6fac1be27ea0b1b266ef099504707c2dc29058be
spi: Kill superfluous cast in spi_w8r16()

spi_write_then_read() takes a "void *" for rxbuf, so there's no need to
cast the buffer pointer to "u8 *".

Signed-off-by: Geert Uytterhoeven <geert+renesas@linux-m68k.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
include/linux/spi/spi.h