]> git.baikalelectronics.ru Git - kernel.git/commit
serial: ifx6x60: Remove superfluous casts when calling request_irq()
authorGeert Uytterhoeven <geert@linux-m68k.org>
Thu, 23 Apr 2015 14:15:40 +0000 (16:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:27:01 +0000 (22:27 +0200)
commit58ed0cba93ad185763ed844b01d3370d178a0116
treef94a40aa4a06123ee417648417a160f8dc02ee29
parentf7e382a9b1761d1489c78ad3c2f11e47ec5dc419
serial: ifx6x60: Remove superfluous casts when calling request_irq()

There's no need to cast the last parameter of {request,free}_irq() to
"void *", as any pointer type is accepted.

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