From patchwork Wed Nov 28 19:18:16 2012 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: 1818051 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 B997EDF26F for ; Wed, 28 Nov 2012 19:18:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754481Ab2K1TSb (ORCPT ); Wed, 28 Nov 2012 14:18:31 -0500 Received: from mailout4.samsung.com ([203.254.224.34]:64926 "EHLO mailout4.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752814Ab2K1TSa (ORCPT ); Wed, 28 Nov 2012 14:18:30 -0500 Received: from epcpsbgm1.samsung.com (epcpsbgm1 [203.254.230.26]) by mailout4.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0ME7009ROPMTF440@mailout4.samsung.com> for linux-media@vger.kernel.org; Thu, 29 Nov 2012 04:18:29 +0900 (KST) X-AuditID: cbfee61a-b7fa66d0000004cf-79-50b66385d691 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 7A.D4.01231.58366B05; Thu, 29 Nov 2012 04:18:29 +0900 (KST) Received: from amdc1344.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0ME700C69PML0A30@mmp1.samsung.com> for linux-media@vger.kernel.org; Thu, 29 Nov 2012 04:18:29 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: sw0312.kim@samsung.com, kyungmin.park@samsung.com, a.hajda@samsung.com, Sylwester Nawrocki Subject: [PATCH RFC 10/12] fimc-lite: Remove empty subdev s_power callback Date: Wed, 28 Nov 2012 20:18:16 +0100 Message-id: <1354130298-3071-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.9.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrBJMWRmVeSWpSXmKPExsVy+t9jAd3W5G0BBpcfclv0bNjK6sDo8XmT XABjFJdNSmpOZllqkb5dAlfGgbf6Bfs5K/a2LmJqYPzO3sXIySEhYCLxeeJnRghbTOLCvfVs XYxcHEICixglzr9bxAjhrGCSODZ3LhtIFZuAoUTv0T6wDhEBeYknvTfA4swClRIn589mArGF Bbwkns7rBouzCKhKbHq8E6yeV8BV4sjEe0A1HEDbFCTmTLKZwMi9gJFhFaNoakFyQXFSeq6h XnFibnFpXrpecn7uJkaw/55J7WBc2WBxiFGAg1GJh3eT5bYAIdbEsuLK3EOMEhzMSiK8t4KA QrwpiZVVqUX58UWlOanFhxilOViUxHmbPVIChATSE0tSs1NTC1KLYLJMHJxSDYyBwhvXd70U Vnn8W5n9718Pzj252tyyt9eol7N/v10nM9HeIuYgy7nfPup/an3mSW5f7PGyR8HynPhifZnp pw5tStWJ32E+28yTZ9HZ28ubP1s38Uac2Wt/fnVe4fOt5w50fXZT/H9QdkPolp37b8y9zXKF d/WNKEO1h4GuNZ89/myeXnblMFucEktxRqKhFnNRcSIA7m3Gy9sBAAA= Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org There is nothing to do in s_power callback so remove it. Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/platform/s5p-fimc/fimc-lite.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/media/platform/s5p-fimc/fimc-lite.c b/drivers/media/platform/s5p-fimc/fimc-lite.c index 1b309a7..d9e7d6f 100644 --- a/drivers/media/platform/s5p-fimc/fimc-lite.c +++ b/drivers/media/platform/s5p-fimc/fimc-lite.c @@ -1195,18 +1195,10 @@ static int fimc_lite_subdev_s_stream(struct v4l2_subdev *sd, int on) /* TODO: */ return 0; -} -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) @@ -1308,7 +1300,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, };