2019-07-04 06:11:21

by Simon Sandström

[permalink] [raw]
Subject: [PATCH 0/3] Simplify NULL comparisons in staging/kpc2000

Hi,

These patches simplifies a few comparisons to NULL ("foo == NULL" =>
"!foo") in staging/kpc2000, as reported by checkpatch.pl.

- Simon

Simon Sandström (3):
staging: kpc2000: simplify comparison to NULL in kpc2000_spi.c
staging: kpc2000: simplify comparison to NULL in dma.c
staging: kpc2000: simplify comparison to NULL in fileops.c

drivers/staging/kpc2000/kpc2000_spi.c | 4 ++--
drivers/staging/kpc2000/kpc_dma/dma.c | 4 ++--
drivers/staging/kpc2000/kpc_dma/fileops.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)

--
2.20.1