summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7164/saa7164-i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-i2c.c')
-rw-r--r--drivers/media/video/saa7164/saa7164-i2c.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/media/video/saa7164/saa7164-i2c.c b/drivers/media/video/saa7164/saa7164-i2c.c
index bc138773355..e1ae9b01bf0 100644
--- a/drivers/media/video/saa7164/saa7164-i2c.c
+++ b/drivers/media/video/saa7164/saa7164-i2c.c
@@ -127,10 +127,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);