mxser: move request irq to probe and switch to managed
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:52 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:10:01 +0000 (13:10 +0200)
commit7f0e79dc09692357ecd9bb7b9674352b74e0ffad
tree2af6f8a487b99735962fe3a3ea91f8538c4898bc
parentdcb04e21bba349875c97467062a0d5cb06f7524d
mxser: move request irq to probe and switch to managed

Move request_irq from mxser_initbrd to mxser_probe so that we can switch
it to managed request. It simplifies the cleanup code.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20210618061516.662-47-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/mxser.c