diff options
author | Sandhya Bankar <bankarsandhya512@gmail.com> | 2016-03-20 16:49:02 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-28 07:30:36 -0700 |
commit | f2cef3f2db6647975bb7e8a83fcdfc52146b55c0 (patch) | |
tree | a8cd35caf0ac889e0c045f80158ff12a987a882e /drivers | |
parent | f3fe438db281cc2d115843d27c7e196bf7404d3c (diff) | |
download | op-kernel-dev-f2cef3f2db6647975bb7e8a83fcdfc52146b55c0.zip op-kernel-dev-f2cef3f2db6647975bb7e8a83fcdfc52146b55c0.tar.gz |
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')
-rw-r--r-- | drivers/staging/i4l/pcbit/edss1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/i4l/pcbit/edss1.c b/drivers/staging/i4l/pcbit/edss1.c index b2262ba..e72c164 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; } |