From: Sandhya Bankar Date: Sun, 20 Mar 2016 11:19:02 +0000 (+0530) Subject: Staging: i4l: pcbit: edss1: Use !x instead of x == NULL. X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f2cef3f2db6647975bb7e8a83fcdfc52146b55c0;p=linux-beck.git Staging: i4l: pcbit: edss1: Use !x instead of x == NULL. Use !x instead of x == NULL. Signed-off-by: Sandhya Bankar Signed-off-by: Greg Kroah-Hartman --- 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; }