diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2015-04-23 16:15:39 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-05-06 22:27:01 +0200 |
commit | 9a499db0325b8a8e2368f21fef66705b120f38ba (patch) | |
tree | 6f395fe02b2b74d2b4a0974badbbada121227dc2 /init/init_task.c | |
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>
Diffstat (limited to 'init/init_task.c')
0 files changed, 0 insertions, 0 deletions