]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/saa7111.c
NULL noise: drivers/media
[linux-2.6-omap-h63xx.git] / drivers / media / video / saa7111.c
index 7ae2d646d0008f12a8a94fd2058c6e0673dac076..a0772c53bb1f5e78c8dd2a00b5dd529664805683 100644 (file)
@@ -502,7 +502,7 @@ saa7111_detect_client (struct i2c_adapter *adapter,
                return 0;
 
        client = kzalloc(sizeof(struct i2c_client), GFP_KERNEL);
-       if (client == 0)
+       if (!client)
                return -ENOMEM;
        client->addr = address;
        client->adapter = adapter;