mxser: renumber mxser_cards
authorJiri Slaby <jslaby@suse.cz>
Fri, 18 Jun 2021 06:14:08 +0000 (08:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 18 Jun 2021 11:09:58 +0000 (13:09 +0200)
commit152549026901afb1e8143a4e07df6cb8df42f3bf
treef9bf8ac06c513f78bd20450e514c9bc54eaeb688
parent291343676e328e1493204faa149746829c488b06
mxser: renumber mxser_cards

After the ISA cards removal in the previous patch, the mxser_cards array
has holes in it. So renumber the array while updating PCI device's
driver_data.

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