[5/5] mx3_camera: remove stop_streaming() callback return
Commit Message
The stop_streaming() callback does not return a value anymore.
Signed-off-by: Pawel Osciak <pawel@osciak.com>
---
drivers/media/video/mx3_camera.c | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
@@ -400,7 +400,7 @@ static int mx3_videobuf_init(struct vb2_buffer *vb)
return 0;
}
-static int mx3_stop_streaming(struct vb2_queue *q)
+static void mx3_stop_streaming(struct vb2_queue *q)
{
struct soc_camera_device *icd = soc_camera_from_vb2q(q);
struct soc_camera_host *ici = to_soc_camera_host(icd->dev.parent);
@@ -425,8 +425,6 @@ static int mx3_stop_streaming(struct vb2_queue *q)
}
spin_unlock_irqrestore(&mx3_cam->lock, flags);
-
- return 0;
}
static struct vb2_ops mx3_videobuf_ops = {