From patchwork Thu Jan 10 12:46:50 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Federico Vaga X-Patchwork-Id: 1960171 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from comal.ext.ti.com (comal.ext.ti.com [198.47.26.152]) by patchwork1.kernel.org (Postfix) with ESMTP id 0ED8C3FC85 for ; Thu, 10 Jan 2013 12:57:02 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by comal.ext.ti.com (8.13.7/8.13.7) with ESMTP id r0ACrbLq011360; Thu, 10 Jan 2013 06:53:37 -0600 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0ACrbIP004150; Thu, 10 Jan 2013 06:53:37 -0600 Received: from dlelxv24.itg.ti.com (172.17.1.199) by dfle73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.1.323.3; Thu, 10 Jan 2013 06:53:37 -0600 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv24.itg.ti.com (8.13.8/8.13.8) with ESMTP id r0ACrbhO008976; Thu, 10 Jan 2013 06:53:37 -0600 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id 326A180627; Thu, 10 Jan 2013 06:53:37 -0600 (CST) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp52.itg.ti.com (dflp52.itg.ti.com [128.247.22.96]) by linux.omap.com (Postfix) with ESMTP id CF41980626 for ; Thu, 10 Jan 2013 06:53:35 -0600 (CST) Received: from white.ext.ti.com (white.ext.ti.com [192.94.93.38]) by dflp52.itg.ti.com (8.13.7/8.13.8) with ESMTP id r0ACrZed029111 for ; Thu, 10 Jan 2013 06:53:35 -0600 (CST) Received: from psmtp.com (na3sys009amx171.postini.com [74.125.149.97]) by white.ext.ti.com (8.13.7/8.13.7) with SMTP id r0ACrYnM002317 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 10 Jan 2013 06:53:35 -0600 Received: from mail-bk0-f49.google.com ([209.85.214.49]) (using TLSv1) by na3sys009amx171.postini.com ([74.125.148.10]) with SMTP; Thu, 10 Jan 2013 12:53:35 GMT Received: by mail-bk0-f49.google.com with SMTP id jm19so277088bkc.36 for ; Thu, 10 Jan 2013 04:53:33 -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:in-reply-to :references; bh=2I+MTqus2TN+H2qls1KK8pEJlVwDVJAXRWbBlP9sjog=; b=ReWVNuQ/K1xZTIwN4hQTo+WfKMPtwBzz5iT82rBP+RbpurR8qFAQWVdPP+mgA++YkK mQV8N8Rw/gpIi6U6PMqCOpdJLNjtdUGxpYJZF/l7dbeYbxRKbRhd0dBLkdXboFXtYJEN /3iacyz8mDnCpVeOvj1+QD9T1ANq/rjkyeVxK2gfTadVwPxT6r/+lEt6FdkzopRt5geB EWE3f5tSMH+4jXzHQj9Z0yDBA54Tsmzw3NFir79AjWVCEXGApVuSe6p0E+51dc8Acnng xDceDlQsgaG+EgFfMD/VrWDQmfHzUNxa4q6LphSo924Nyuti/0yUAEbN46w9nCJxZrGj o12g== X-Received: by 10.204.12.206 with SMTP id y14mr34218797bky.132.1357822412969; Thu, 10 Jan 2013 04:53:32 -0800 (PST) Received: from harkonnen.i.gnudd.com (mail2.gnudd.com. [213.203.150.91]) by mx.google.com with ESMTPS id z5sm1190400bkv.11.2013.01.10.04.53.26 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 10 Jan 2013 04:53:31 -0800 (PST) From: Federico Vaga To: Mauro Carvalho Chehab , Pawel Osciak , Marek Szyprowski , Hans Verkuil Subject: [PATCH v5 3/3] adv7180: remove {query/g_/s_}ctrl Date: Thu, 10 Jan 2013 13:46:50 +0100 Message-ID: <1357822010-30419-4-git-send-email-federico.vaga@gmail.com> X-Mailer: git-send-email 1.7.11.7 In-Reply-To: <1357822010-30419-1-git-send-email-federico.vaga@gmail.com> References: <1357822010-30419-1-git-send-email-federico.vaga@gmail.com> X-pstn-neptune: 0/0/0.00/0 X-pstn-levels: (S:94.85963/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-dkim: 1 skipped:no-policies X-pstn-settings: 2 (0.5000:0.0050) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [82/3] CC: Kamil Debski , Srinivas Kandagatla , Peter Senna Tschudin , , Giancarlo Asnaghi , , Jonathan Corbet , Sachin Kamat , Sasha Levin , , Tomasz Stanislawski , , Mauro Carvalho Chehab , Jeongtae Park , Bill Pemberton , Andrzej Pietrasiewicz , Sylwester Nawrocki , , Fabio Estevam , Sakari Ailus , Scott Jiang , Shaik Ameer Basha , Devendra Naga , Julia Lawall , Greg Kroah-Hartman , , Josh Wu , Kyungmin Park , Sungchun Kang , Javier Martin , Philipp Zabel , Federico Vaga , Guennadi Liakhovetski X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces@linux.davincidsp.com All drivers which use this subdevice use also the control framework. The v4l2_subdev_core_ops operations {query/g_/s_}ctrl are useless because device drivers will inherit controls from this subdevice. Signed-off-by: Federico Vaga --- drivers/media/i2c/adv7180.c | 3 --- 1 file modificato, 3 rimozioni(-) diff --git a/drivers/media/i2c/adv7180.c b/drivers/media/i2c/adv7180.c index 45ecf8d..43bc2b9 100644 --- a/drivers/media/i2c/adv7180.c +++ b/drivers/media/i2c/adv7180.c @@ -402,9 +402,6 @@ static const struct v4l2_subdev_video_ops adv7180_video_ops = { static const struct v4l2_subdev_core_ops adv7180_core_ops = { .g_chip_ident = adv7180_g_chip_ident, .s_std = adv7180_s_std, - .queryctrl = v4l2_subdev_queryctrl, - .g_ctrl = v4l2_subdev_g_ctrl, - .s_ctrl = v4l2_subdev_s_ctrl, }; static const struct v4l2_subdev_ops adv7180_ops = {