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)
commit269ccca8ec1a3991e07eaf5f90326134bd17781a
tree522c4a4866d1ddf5e4cb1215cd7f9b77380ecb78
parentd3fbd457013c0f6d96de461ce0a9cb1f8b73cd0b
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