]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/adv7175.c
NULL noise: drivers/media
[linux-2.6-omap-h63xx.git] / drivers / media / video / adv7175.c
index 0d0c554bfdf7bce39f3ca0736bf768d27047137f..10d4d89623f15431080c3fda94b37164c4dc67fd 100644 (file)
@@ -426,7 +426,7 @@ adv7175_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;