• Jingoo Han's avatar
    serial: tegra: use NULL instead of 0 · fbf3ab27
    Jingoo Han authored
    'cons' is a pointer; thus NULL should be used instead of 0.
    Also, local symbols are staticized.
    Fix the following sparse warnings:
    
    drivers/tty/serial/serial-tegra.c:1209:27: warning: Using plain integer as NULL pointer
    drivers/tty/serial/serial-tegra.c:1240:29: warning: symbol 'tegra20_uart_chip_data' was not declared. Should it be static?
    drivers/tty/serial/serial-tegra.c:1246:29: warning: symbol 'tegra30_uart_chip_data' was not declared. Should it be static?
    Signed-off-by: default avatarJingoo Han <jg1.han@samsung.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    fbf3ab27
serial-tegra.c 36.2 KB