]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/saa7185.c
NULL noise: drivers/media
[linux-2.6-omap-h63xx.git] / drivers / media / video / saa7185.c
index 66cc92c0ea66f725a43a29ea652621218ff11212..41f70440fd3bcb2b842720680d4d42a3b97476a9 100644 (file)
@@ -403,7 +403,7 @@ saa7185_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;