Skip to content

Commit

Permalink
V4L/DVB (12976): SAA7164: Removed bus registration messages from driv…
Browse files Browse the repository at this point in the history
…er 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>
  • Loading branch information
Steven Toth authored and Mauro Carvalho Chehab committed Sep 19, 2009
1 parent efac8aa commit b8298e7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/media/video/saa7164/saa7164-i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit b8298e7

Please sign in to comment.