]> www.infradead.org Git - users/jedix/linux-maple.git/commit
serial: 8250_of: Remove unneeded ->iotype assignment
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 24 Jan 2025 16:10:49 +0000 (18:10 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 4 Feb 2025 13:44:50 +0000 (14:44 +0100)
commitfe310f75327edbc042c7cc0df32c6b9ec29eb93a
tree997bd5101fd7c484b8a9783a61e6fe74bcf4d089
parent12397549b5014071e1d2b315509f68eb93ef9144
serial: 8250_of: Remove unneeded ->iotype assignment

If ->iobase is set the default will be UPIO_PORT for ->iotype after
the uart_read_and_validate_port_properties() call. Hence no need
to assign that explicitly.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20250124161530.398361-5-andriy.shevchenko@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_of.c