serial: icom: make icom_acfg_baud const and unsigned
authorJiri Slaby <jslaby@suse.cz>
Thu, 21 Apr 2022 08:58:05 +0000 (10:58 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:19:52 +0000 (16:19 +0200)
commit8b026d636d4a4a92533b7f28a86e59ffd6d7acad
tree21affc647c2876534d293185cba35fe05a2e9aea
parent05ef2f3dd0cb3dd0b92691312042234083eabd01
serial: icom: make icom_acfg_baud const and unsigned

The baud rates are unsigned constants. So mark them as such.

Not only it makes sense, but they are passed also to
uart_get_baud_rate() and that expects unsigned int as baud rates on
input.

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