diff options
author | Guennadi Liakhovetski <g.liakhovetski@gmx.de> | 2009-08-25 10:47:00 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:19:09 -0400 |
commit | 85f8be68125163085392ed4fc30adcbea641586d (patch) | |
tree | 1f265f7be42b78c559db067810514d4096ca1141 /drivers/media/video/ov772x.c | |
parent | c9c1f1c0dbe90b82939917fdc3e4c9ccad42342d (diff) |
V4L/DVB (12531): soc-camera: Use I2C device for dev_{dbg,info,...} output in all clients
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/ov772x.c')
-rw-r--r-- | drivers/media/video/ov772x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/media/video/ov772x.c b/drivers/media/video/ov772x.c index bbe6f2d71c15..bbf5331a2eae 100644 --- a/drivers/media/video/ov772x.c +++ b/drivers/media/video/ov772x.c | |||
@@ -1002,7 +1002,7 @@ static int ov772x_video_probe(struct soc_camera_device *icd, | |||
1002 | */ | 1002 | */ |
1003 | if (SOCAM_DATAWIDTH_10 != priv->info->buswidth && | 1003 | if (SOCAM_DATAWIDTH_10 != priv->info->buswidth && |
1004 | SOCAM_DATAWIDTH_8 != priv->info->buswidth) { | 1004 | SOCAM_DATAWIDTH_8 != priv->info->buswidth) { |
1005 | dev_err(&icd->dev, "bus width error\n"); | 1005 | dev_err(&client->dev, "bus width error\n"); |
1006 | return -ENODEV; | 1006 | return -ENODEV; |
1007 | } | 1007 | } |
1008 | 1008 | ||
@@ -1025,12 +1025,12 @@ static int ov772x_video_probe(struct soc_camera_device *icd, | |||
1025 | priv->model = V4L2_IDENT_OV7725; | 1025 | priv->model = V4L2_IDENT_OV7725; |
1026 | break; | 1026 | break; |
1027 | default: | 1027 | default: |
1028 | dev_err(&icd->dev, | 1028 | dev_err(&client->dev, |
1029 | "Product ID error %x:%x\n", pid, ver); | 1029 | "Product ID error %x:%x\n", pid, ver); |
1030 | return -ENODEV; | 1030 | return -ENODEV; |
1031 | } | 1031 | } |
1032 | 1032 | ||
1033 | dev_info(&icd->dev, | 1033 | dev_info(&client->dev, |
1034 | "%s Product ID %0x:%0x Manufacturer ID %x:%x\n", | 1034 | "%s Product ID %0x:%0x Manufacturer ID %x:%x\n", |
1035 | devname, | 1035 | devname, |
1036 | pid, | 1036 | pid, |