summaryrefslogtreecommitdiff
path: root/drivers/media/video/saa7164
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2009-09-17 21:00:40 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-09-19 00:16:17 -0300
commitb8298e7e588dc906adc358179349841d58f6f580 (patch)
tree3e15b275f902e73dd5f1c8969f3264638eec68ec /drivers/media/video/saa7164
parentefac8aaa8e747b1c1e9eff12b3d3c26f92e26018 (diff)
V4L/DVB (12976): SAA7164: Removed bus registration messages from driver startup
SAA7164: Removed bus registration messages from driver startup Signed-off-by: Steven Toth <stoth@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164')
-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 bc1387733553..e1ae9b01bf0f 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);