summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/dpc7146.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video/dpc7146.c')
-rw-r--r--linux/drivers/media/video/dpc7146.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/dpc7146.c b/linux/drivers/media/video/dpc7146.c
index 258d46407..4bfb3076b 100644
--- a/linux/drivers/media/video/dpc7146.c
+++ b/linux/drivers/media/video/dpc7146.c
@@ -132,7 +132,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);