summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/saa7164/saa7164-i2c.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/linux/drivers/media/video/saa7164/saa7164-i2c.c b/linux/drivers/media/video/saa7164/saa7164-i2c.c
index c7f0c7ec7..e6b091391 100644
--- a/linux/drivers/media/video/saa7164/saa7164-i2c.c
+++ b/linux/drivers/media/video/saa7164/saa7164-i2c.c
@@ -128,10 +128,7 @@ int saa7164_i2c_register(struct saa7164_i2c *bus)
bus->i2c_client.adapter = &bus->i2c_adap;
- if (0 == bus->i2c_rc) {
- printk(KERN_ERR "%s: i2c bus %d registered\n",
- dev->name, bus->nr);
- } else
+ if (0 != bus->i2c_rc)
printk(KERN_ERR "%s: i2c bus %d register FAILED\n",
dev->name, bus->nr);