]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/saa7114.c
NULL noise: drivers/media
[linux-2.6-omap-h63xx.git] / drivers / media / video / saa7114.c
index 677df51de1a9e3136856dd417260df4e5dd1a46e..bf91a4faa706f154903b9be9f7069fb9e55ded2a 100644 (file)
@@ -841,7 +841,7 @@ saa7114_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;