From patchwork Sun Apr 3 23:51:10 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pawel Osciak X-Patchwork-Id: 6293 Return-path: Envelope-to: mchehab@pedra Delivery-date: Mon, 04 Apr 2011 08:32:27 -0300 Received: from mchehab by pedra with local (Exim 4.72) (envelope-from ) id 1Q6i1C-0001fp-AZ for mchehab@pedra; Mon, 04 Apr 2011 08:32:27 -0300 Received: from casper.infradead.org [85.118.1.10] by pedra with IMAP (fetchmail-6.3.17) for (single-drop); Mon, 04 Apr 2011 08:32:26 -0300 (BRT) Received: from vger.kernel.org ([209.132.180.67]) by casper.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1Q6X50-0004qC-Ta; Sun, 03 Apr 2011 23:51:39 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753014Ab1DCXvh (ORCPT + 1 other); Sun, 3 Apr 2011 19:51:37 -0400 Received: from mail-iw0-f174.google.com ([209.85.214.174]:37753 "EHLO mail-iw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753081Ab1DCXva (ORCPT ); Sun, 3 Apr 2011 19:51:30 -0400 Received: by mail-iw0-f174.google.com with SMTP id 34so5256601iwn.19 for ; Sun, 03 Apr 2011 16:51:29 -0700 (PDT) Received: by 10.43.70.20 with SMTP id ye20mr3897895icb.156.1301874689839; Sun, 03 Apr 2011 16:51:29 -0700 (PDT) Received: from localhost.localdomain (c-24-4-33-58.hsd1.ca.comcast.net [24.4.33.58]) by mx.google.com with ESMTPS id 19sm3318091ibx.52.2011.04.03.16.51.28 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 03 Apr 2011 16:51:29 -0700 (PDT) From: Pawel Osciak To: linux-media@vger.kernel.org Cc: m.szyprowski@samsung.com, s.nawrocki@samsung.com, g.liakhovetski@gmx.de, Pawel Osciak Subject: [PATCH 5/5] [media] mx3_camera: remove stop_streaming() callback return Date: Sun, 3 Apr 2011 16:51:10 -0700 Message-Id: <1301874670-14833-6-git-send-email-pawel@osciak.com> X-Mailer: git-send-email 1.7.4.2 In-Reply-To: <1301874670-14833-1-git-send-email-pawel@osciak.com> References: <1301874670-14833-1-git-send-email-pawel@osciak.com> Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Sender: The stop_streaming() callback does not return a value anymore. Signed-off-by: Pawel Osciak --- drivers/media/video/mx3_camera.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/drivers/media/video/mx3_camera.c b/drivers/media/video/mx3_camera.c index 8630c0c..1703b93 100644 --- a/drivers/media/video/mx3_camera.c +++ b/drivers/media/video/mx3_camera.c @@ -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 = {