From patchwork Fri Jan 18 16:02:31 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 2003591 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 8F93BDF280 for ; Fri, 18 Jan 2013 16:02:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751300Ab3ARQCo (ORCPT ); Fri, 18 Jan 2013 11:02:44 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:18880 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750898Ab3ARQCo (ORCPT ); Fri, 18 Jan 2013 11:02:44 -0500 Received: from epcpsbgm2.samsung.com (epcpsbgm2 [203.254.230.27]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MGT00C3PWKJDEY0@mailout3.samsung.com> for linux-media@vger.kernel.org; Sat, 19 Jan 2013 01:02:43 +0900 (KST) X-AuditID: cbfee61b-b7f616d00000319b-b4-50f97222bdda Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id FA.21.12699.22279F05; Sat, 19 Jan 2013 01:02:42 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MGT008T3WKC6W30@mmp2.samsung.com> for linux-media@vger.kernel.org; Sat, 19 Jan 2013 01:02:42 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: sw0312.kim@samsung.com, dh09.lee@samsung.com, Sylwester Nawrocki , Kyungmin Park Subject: [PATCH 1/2] s5p-fimc: fimc-lite: Remove empty s_power subdev callback Date: Fri, 18 Jan 2013 17:02:31 +0100 Message-id: <1358524952-25156-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrOJMWRmVeSWpSXmKPExsVy+t9jQV2lop8BBrtf2lj0bNjK6sDo8XmT XABjFJdNSmpOZllqkb5dAlfGroa77AU3uSruzpvC3sDYxNnFyMEhIWAiMW+xaBcjJ5ApJnHh 3no2EFtIYDqjxPLPzBD2CiaJ/3etQGw2AUOJ3qN9jCC2iIC8xJPeG0D1XBzMAj2MElfud4I1 CAv4SWy7uRisiEVAVeLetWawOK+Am8Tu788ZIfYqSMyZZDOBkXsBI8MqRtHUguSC4qT0XCO9 4sTc4tK8dL3k/NxNjGDvPZPewbiqweIQowAHoxIP70aVHwFCrIllxZW5hxglOJiVRHifSP0M EOJNSaysSi3Kjy8qzUktPsQozcGiJM7LeOpJgJBAemJJanZqakFqEUyWiYNTqoGxozUmcOPL H1dz6ycpWpzi1v6fyrByh+Dm4C+3XLk6kx9V/X/otvJ6jujWiSUXz2xNmfq10djFe97t7G1n t0y/esSitua9xES+NSKfcucv+OU6adveGbc3W1i83iPdPbch20A66vimwPcFBw702BxQ55ql 6NB/4nzN51m83bFKxZGPmriiclk/KrEUZyQaajEXFScCAPD5Y8raAQAA Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The .s_power FIMC-LITE subdev callback is now empty and unneeded. The FIMC-LITE IP power handling will be done by the FIMC-IS driver, so just remove the callback. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/s5p-fimc/fimc-lite.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/drivers/media/platform/s5p-fimc/fimc-lite.c b/drivers/media/platform/s5p-fimc/fimc-lite.c index e3e3370..15db03e2 100644 --- a/drivers/media/platform/s5p-fimc/fimc-lite.c +++ b/drivers/media/platform/s5p-fimc/fimc-lite.c @@ -1281,18 +1281,6 @@ static int fimc_lite_subdev_s_stream(struct v4l2_subdev *sd, int on) return ret; } -static int fimc_lite_subdev_s_power(struct v4l2_subdev *sd, int on) -{ - struct fimc_lite *fimc = v4l2_get_subdevdata(sd); - - if (fimc->out_path == FIMC_IO_DMA) - return -ENOIOCTLCMD; - - /* TODO: */ - - return 0; -} - static int fimc_lite_log_status(struct v4l2_subdev *sd) { struct fimc_lite *fimc = v4l2_get_subdevdata(sd); @@ -1392,7 +1380,6 @@ static const struct v4l2_subdev_video_ops fimc_lite_subdev_video_ops = { }; static const struct v4l2_subdev_core_ops fimc_lite_core_ops = { - .s_power = fimc_lite_subdev_s_power, .log_status = fimc_lite_log_status, };