|
@@ -414,12 +414,12 @@ static int wis_saa7115_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-saa7115: initializing SAA7115 at address %d on %s\n",
|
|
"wis-saa7115: initializing SAA7115 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-saa7115: error initializing SAA7115\n");
|
|
"wis-saa7115: error initializing SAA7115\n");
|
|
kfree(dec);
|
|
kfree(dec);
|
|
return -ENODEV;
|
|
return -ENODEV;
|