staging: kpc2000: simplify comparisons to NULL in core.c
authorSimon Sandström <simon@nikanor.nu>
Mon, 3 Jun 2019 22:29:10 +0000 (00:29 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Jun 2019 12:57:00 +0000 (14:57 +0200)
commit636928fc127549658ac6bfaae2c106d68195a063
tree4e2f8525057c99ffdddf744d509ed7592a064fa0
parent7acc77d20892fefc546edd22ea62829423a771ef
staging: kpc2000: simplify comparisons to NULL in core.c

Fixes checkpatch.pl warnings "Comparison to NULL could be written [...]"
and "Comparisons should place the constant on the right side of the
test".

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000/core.c