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>
This commit is contained in:
Sandhya Bankar 2016-03-20 16:49:02 +05:30 committed by Greg Kroah-Hartman
parent f3fe438db2
commit f2cef3f2db

View File

@ -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;
}