Staging: kpc2000: kpc_dma: Remove comparison to NULL.
authorSam Muhammed <jane.pnx9@gmail.com>
Wed, 25 Mar 2020 14:26:36 +0000 (10:26 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2020 18:38:39 +0000 (19:38 +0100)
commit0af192c755bdfe0476d3ffc99e8483644c026deb
treef37ec7df00fb2d1b23d4b24afddf5da284af61fa
parent904da296a536ef8846c4698f8c687b5d52084b15
Staging: kpc2000: kpc_dma: Remove comparison to NULL.

Comparison to NULL been used across the driver,
remove them and use (!var) instead.

Checkpatch.pl: CHECK:
Comparison to NULL could be written "!desc"... etc

Signed-off-by: Sam Muhammed <jane.pnx9@gmail.com>
Link: https://lore.kernel.org/r/f344afba0a8bb0413941a63678688435f04a96b4.1585143581.git.jane.pnx9@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/kpc2000/kpc_dma/dma.c
drivers/staging/kpc2000/kpc_dma/fileops.c
drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.h