|
@@ -281,12 +281,12 @@ static int wis_saa7113_probe(struct i2c_client *client,
|
|
dec->hue = 0;
|
|
dec->hue = 0;
|
|
i2c_set_clientdata(client, dec);
|
|
i2c_set_clientdata(client, dec);
|
|
|
|
|
|
- printk(KERN_DEBUG
|
|
|
|
|
|
+ dev_dbg(&client->dev,
|
|
"wis-saa7113: initializing SAA7113 at address %d on %s\n",
|
|
"wis-saa7113: initializing SAA7113 at address %d on %s\n",
|
|
client->addr, adapter->name);
|
|
client->addr, adapter->name);
|
|
|
|
|
|
if (write_regs(client, initial_registers) < 0) {
|
|
if (write_regs(client, initial_registers) < 0) {
|
|
- printk(KERN_ERR
|
|
|
|
|
|
+ dev_err(&client->dev,
|
|
"wis-saa7113: error initializing SAA7113\n");
|
|
"wis-saa7113: error initializing SAA7113\n");
|
|
kfree(dec);
|
|
kfree(dec);
|
|
return -ENODEV;
|
|
return -ENODEV;
|