serial: zs: use NULL as a pointer, not 0
authorJiri Slaby <jslaby@suse.cz>
Thu, 21 Apr 2022 10:17:05 +0000 (12:17 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 22 Apr 2022 14:21:53 +0000 (16:21 +0200)
commite48b68ab0ca402cd8da0363c55a834dde0331b83
treebc1627d9711ddee6e9fcd3f10cf5cd322ac9772c
parent08814cd69d4eace3612aaa386dffa5ebb8d1e1a4
serial: zs: use NULL as a pointer, not 0

struct uart_port::membase is declared as a pointer. So it should be
initialized by NULL, not zero constant.

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