]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/dpc7146.c
NULL noise: drivers/media
[linux-2.6-omap-h63xx.git] / drivers / media / video / dpc7146.c
index 566e479e2629086145954876da78da7dc5cd7e60..9ceb6b2f394920af86ff64bc7be36f3a080c3cfb 100644 (file)
@@ -131,7 +131,7 @@ static int dpc_probe(struct saa7146_dev* dev)
        device_for_each_child(&dpc->i2c_adapter.dev, dpc, dpc_check_clients);
 
        /* check if all devices are present */
-       if( 0 == dpc->saa7111a ) {
+       if (!dpc->saa7111a) {
                DEB_D(("dpc_v4l2.o: dpc_attach failed for this device.\n"));
                i2c_del_adapter(&dpc->i2c_adapter);
                kfree(dpc);