serial: ifx6x60: Remove dangerous spi_driver casts
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 23 Apr 2015 14:15:39 +0000 (16:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:27:01 +0000 (22:27 +0200)
commit9a499db0325b8a8e2368f21fef66705b120f38ba
tree6f395fe02b2b74d2b4a0974badbbada121227dc2
parentadeede7319cb57e0709ffaebb761932915e46d9d
serial: ifx6x60: Remove dangerous spi_driver casts

Casting spi_driver pointers to "void *" when calling
spi_{,un}register_driver() bypasses all type checking.

Remove the superfluous casts to fix this.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/ifx6x60.c