staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c
authorSimon Sandström <simon@nikanor.nu>
Thu, 4 Jul 2019 06:08:09 +0000 (08:08 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Jul 2019 08:40:44 +0000 (10:40 +0200)
commit209ff937b0d4d70bb054890a8c1722cec3fc70fe
tree5b93879631da526acf445d184c879dc30e70b54b
parent5b2736ce361989882636d4b105d1146ca3382f47
staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c

Fixes checkpatch warning "Comparison to NULL could be written [...]".

Signed-off-by: Simon Sandström <simon@nikanor.nu>
Link: https://lore.kernel.org/r/20190704060811.10330-2-simon@nikanor.nu
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc2000_spi.c