]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/bt856.c
NULL noise: drivers/media
[linux-2.6-omap-h63xx.git] / drivers / media / video / bt856.c
index e1028a76c042046760d3a634552c92a9bd441006..7dee2e3235ad5619a735c0c74db3c4c67d25cd32 100644 (file)
@@ -311,7 +311,7 @@ bt856_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;