V4L/DVB (12976): SAA7164: Removed bus registration messages from driver startup
authorSteven Toth <stoth@kernellabs.com>
Fri, 18 Sep 2009 00:00:40 +0000 (21:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:16:17 +0000 (00:16 -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 bc1387733553553461683c445f069e5b2354bbdb..e1ae9b01bf0f9ee5d2278b3cd159a356ff11dadc 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);