From 62e47887e93cb1077007569ae4f7868ec03276c4 Mon Sep 17 00:00:00 2001 From: Steven Toth Date: Thu, 17 Sep 2009 20:00:40 -0400 Subject: SAA7164: Removed bus registration messages from driver startup From: Steven Toth SAA7164: Removed bus registration messages from driver startup Priority: normal Signed-off-by: Steven Toth --- linux/drivers/media/video/saa7164/saa7164-i2c.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'linux') 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); -- cgit v1.2.3