From patchwork Sat Jan 19 21:38:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylwester Nawrocki X-Patchwork-Id: 2007371 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 826C03FE1F for ; Sat, 19 Jan 2013 21:38:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751799Ab3ASViY (ORCPT ); Sat, 19 Jan 2013 16:38:24 -0500 Received: from mail-ea0-f172.google.com ([209.85.215.172]:59409 "EHLO mail-ea0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751389Ab3ASViY (ORCPT ); Sat, 19 Jan 2013 16:38:24 -0500 Received: by mail-ea0-f172.google.com with SMTP id f13so1995796eaa.31 for ; Sat, 19 Jan 2013 13:38:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer; bh=aa971AcL9oaEW/jGHd7VHSVvgRtUNrpMFGFWp6I/610=; b=Ujfbku2QX2xAZ1JWcPUwbSierXT2gI36z7lhcMatcUhaTBKF+I9fGAYWm46PwwV8ks F0SVaDCd4WHvcF9LdA97RxY5OO6oYTWLKsv0ezCyx3jYIJ8qqnRfZSMouNsvXZP4Ilrv 3EcigxGIQF0rkvtjphcR9OUy4Aw8KnbV87nWqaFIKwlLd6fdJtEqH8ShmewY//DVRNSF cAEvZVV4hYWW5oGMiWT7daQ/IxMd6eH7d5AjqSQsRVJeldLA8mvEkxX+aJMGjcGTW+ND cJw5ilw/M/Nus719sJXwKBA6rrxUarfQWoRUl+3ukQ5WvgANwr4Ndld33ahV9+AHcJob DPGw== X-Received: by 10.14.202.3 with SMTP id c3mr42209807eeo.4.1358631502833; Sat, 19 Jan 2013 13:38:22 -0800 (PST) Received: from localhost.localdomain (031011138205.warszawa.vectranet.pl. [31.11.138.205]) by mx.google.com with ESMTPS id z8sm14294675eeo.11.2013.01.19.13.38.21 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 19 Jan 2013 13:38:21 -0800 (PST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: Sylwester Nawrocki Subject: [PATCH] noon010p30: Remove unneeded v4l2 control compatibility ops Date: Sat, 19 Jan 2013 22:38:13 +0100 Message-Id: <1358631493-12822-1-git-send-email-sylvester.nawrocki@gmail.com> X-Mailer: git-send-email 1.7.4.1 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org All host drivers using this subdev driver are already converted to use the control framework so the compatibility ops can be dropped. Signed-off-by: Sylwester Nawrocki Acked-by: Hans Verkuil --- drivers/media/i2c/noon010pc30.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/drivers/media/i2c/noon010pc30.c b/drivers/media/i2c/noon010pc30.c index 440c129..8554b47 100644 --- a/drivers/media/i2c/noon010pc30.c +++ b/drivers/media/i2c/noon010pc30.c @@ -660,13 +660,6 @@ static const struct v4l2_ctrl_ops noon010_ctrl_ops = { static const struct v4l2_subdev_core_ops noon010_core_ops = { .s_power = noon010_s_power, - .g_ctrl = v4l2_subdev_g_ctrl, - .s_ctrl = v4l2_subdev_s_ctrl, - .queryctrl = v4l2_subdev_queryctrl, - .querymenu = v4l2_subdev_querymenu, - .g_ext_ctrls = v4l2_subdev_g_ext_ctrls, - .try_ext_ctrls = v4l2_subdev_try_ext_ctrls, - .s_ext_ctrls = v4l2_subdev_s_ext_ctrls, .log_status = noon010_log_status, };