diff options
author | Guennadi Liakhovetski <lg@denx.de> | 2008-12-18 16:54:33 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 12:40:26 +0100 |
commit | a85bdace0c5f951ff614aa5b7cf6acb03f7955bf (patch) | |
tree | 5f986743d96ef41fbe6e68296ed3c1f4951acb1f /drivers/media/video/mt9v022.c | |
parent | V4L/DVB (10090): soc-camera: let drivers decide upon supported field values (diff) | |
download | linux-a85bdace0c5f951ff614aa5b7cf6acb03f7955bf.tar.xz linux-a85bdace0c5f951ff614aa5b7cf6acb03f7955bf.zip |
V4L/DVB (10091): mt9m001 mt9v022: simplify pointer derefernces
Signed-off-by: Guennadi Liakhovetski <lg@denx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/mt9v022.c')
-rw-r--r-- | drivers/media/video/mt9v022.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/mt9v022.c b/drivers/media/video/mt9v022.c index be20747b8138..14a5f9c21ffa 100644 --- a/drivers/media/video/mt9v022.c +++ b/drivers/media/video/mt9v022.c @@ -766,8 +766,8 @@ static void mt9v022_video_remove(struct soc_camera_device *icd) struct mt9v022 *mt9v022 = container_of(icd, struct mt9v022, icd); dev_dbg(&icd->dev, "Video %x removed: %p, %p\n", mt9v022->client->addr, - mt9v022->icd.dev.parent, mt9v022->icd.vdev); - soc_camera_video_stop(&mt9v022->icd); + icd->dev.parent, icd->vdev); + soc_camera_video_stop(icd); } static int mt9v022_probe(struct i2c_client *client, |