commit | 9a499db0325b8a8e2368f21fef66705b120f38ba | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert@linux-m68k.org> | Thu Apr 23 16:15:39 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed May 06 22:27:01 2015 +0200 |
tree | 6f395fe02b2b74d2b4a0974badbbada121227dc2 | |
parent | adeede7319cb57e0709ffaebb761932915e46d9d [diff] |
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>