serial: 68328serial: Use NULL for pointers
authorFabio Estevam <fabio.estevam@freescale.com>
Tue, 25 Aug 2015 19:49:46 +0000 (16:49 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Oct 2015 16:44:52 +0000 (17:44 +0100)
commit740134960811bdeadaf52d6155d8fea97470dcda
tree1c14f727087442ce65789bf4eefc4254b7081e5c
parent09557c0169d20585a12e2900fe6d00b5128e5ba8
serial: 68328serial: Use NULL for pointers

Compare pointer-typed values to NULL rather than 0

The semantic patch that makes this change is available
in scripts/coccinelle/null/badzero.cocci.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/68328serial.c