serial: pic32: remove pic32_get_port() macro
authorJiri Slaby <jslaby@suse.cz>
Tue, 3 May 2022 06:31:17 +0000 (08:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 May 2022 20:39:18 +0000 (22:39 +0200)
commit343f23cfc22b1d1577289db694f6896d1ac26594
tree48b2494c53db9c23c56748b47f728306cc7fe0b5
parente8616bd0e9f24a9265fe5db1e7963185514b445a
serial: pic32: remove pic32_get_port() macro

It's just &sport->port. First, sport was not in parenthesis, so macro
expansion could be an issue. Second, it's so simple, that we can expand
the macro and make the code really straightforward.

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