tty: moxa: Make local var storing tty_port_initialized() bool
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 17 Jan 2023 09:03:50 +0000 (11:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2023 15:04:34 +0000 (16:04 +0100)
commitc2ac4bfa04d19ea23a48fe6045a3740a7e4c7b8b
treeb3ed2287c4c7a79947fc223aa854dbaf244ea1c7
parent9b5aa54986fc85f5e10045348a8a45894aeb18db
tty: moxa: Make local var storing tty_port_initialized() bool

Return type of tty_port_initialized() is bool, use matching type for
the local variable.

Also reorder the local vars to reverse-xmas-tree while at it.

Reviewed-by: Jiri Slaby <jirislaby@kernel.org>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20230117090358.4796-5-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/moxa.c