V4L/DVB (12976): SAA7164: Removed bus registration messages from driver startup
Steven Toth [Fri, 18 Sep 2009 00:00:40 +0000 (21:00 -0300)]
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>

drivers/media/video/saa7164/saa7164-i2c.c

index bc13877..e1ae9b0 100644 (file)
@@ -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);