mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 15:11:48 -04:00
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:
parent
f3fe438db2
commit
f2cef3f2db
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue