summaryrefslogtreecommitdiffstats
path: root/drivers/staging/i4l
diff options
context:
space:
mode:
authorSandhya Bankar <bankarsandhya512@gmail.com>2016-03-20 16:49:02 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-28 07:30:36 -0700
commitf2cef3f2db6647975bb7e8a83fcdfc52146b55c0 (patch)
treea8cd35caf0ac889e0c045f80158ff12a987a882e /drivers/staging/i4l
parentf3fe438db281cc2d115843d27c7e196bf7404d3c (diff)
downloadlinux-f2cef3f2db6647975bb7e8a83fcdfc52146b55c0.tar.bz2
Staging: i4l: pcbit: edss1: Use !x instead of x == NULL.
Use !x instead of x == NULL. Signed-off-by: Sandhya Bankar <bankarsandhya512@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/i4l')
-rw-r--r--drivers/staging/i4l/pcbit/edss1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/i4l/pcbit/edss1.c b/drivers/staging/i4l/pcbit/edss1.c
index b2262ba6f0c9..e72c16420712 100644
--- a/drivers/staging/i4l/pcbit/edss1.c
+++ b/drivers/staging/i4l/pcbit/edss1.c
@@ -254,7 +254,7 @@ static void pcbit_fsm_timer(unsigned long data)
dev = chan2dev(chan);
- if (dev == NULL) {
+ if (!dev) {
printk(KERN_WARNING "pcbit: timer for unknown device\n");
return;
}