Commit ef14aa3b authored by Hans de Goede's avatar Hans de Goede Committed by Mauro Carvalho Chehab

[media] staging: atomisp: Make ov2680 driver less chatty

There is no reason for all this printk spamming and certainly
not at an error log level.
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent da3e1805
...@@ -1191,9 +1191,8 @@ static int ov2680_detect(struct i2c_client *client) ...@@ -1191,9 +1191,8 @@ static int ov2680_detect(struct i2c_client *client)
OV2680_SC_CMMN_SUB_ID, &high); OV2680_SC_CMMN_SUB_ID, &high);
revision = (u8) high & 0x0f; revision = (u8) high & 0x0f;
dev_err(&client->dev, "sensor_revision id = 0x%x\n", id); dev_info(&client->dev, "sensor_revision id = 0x%x\n", id);
dev_err(&client->dev, "detect ov2680 success\n");
dev_err(&client->dev, "################5##########\n");
return 0; return 0;
} }
...@@ -1448,8 +1447,6 @@ static int ov2680_probe(struct i2c_client *client, ...@@ -1448,8 +1447,6 @@ static int ov2680_probe(struct i2c_client *client,
void *pdata; void *pdata;
unsigned int i; unsigned int i;
printk("++++ov2680_probe++++\n");
dev_info(&client->dev, "++++ov2680_probe++++\n");
dev = kzalloc(sizeof(*dev), GFP_KERNEL); dev = kzalloc(sizeof(*dev), GFP_KERNEL);
if (!dev) { if (!dev) {
dev_err(&client->dev, "out of memory\n"); dev_err(&client->dev, "out of memory\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment