summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Toth <stoth@kernellabs.com>2009-09-17 20:00:40 -0400
committerSteven Toth <stoth@kernellabs.com>2009-09-17 20:00:40 -0400
commit62e47887e93cb1077007569ae4f7868ec03276c4 (patch)
tree7ce1985d9c6145cad5d1d6a2467e4e8d25741f6c
parent4c63bcfa45a061a888ca83d99e8c235b2a40618e (diff)
downloadmediapointer-dvb-s2-62e47887e93cb1077007569ae4f7868ec03276c4.tar.gz
mediapointer-dvb-s2-62e47887e93cb1077007569ae4f7868ec03276c4.tar.bz2
SAA7164: Removed bus registration messages from driver startup
From: Steven Toth <stoth@kernellabs.com> SAA7164: Removed bus registration messages from driver startup Priority: normal Signed-off-by: Steven Toth <stoth@kernellabs.com>
-rw-r--r--linux/drivers/media/video/saa7164/saa7164-i2c.c5
1 files changed, 1 insertions, 4 deletions
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);