From patchwork Mon Jun 24 15:47:25 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2772161 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C89719F245 for ; Mon, 24 Jun 2013 15:50:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 14562201DC for ; Mon, 24 Jun 2013 15:50:39 +0000 (UTC) Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B0CC020235 for ; Mon, 24 Jun 2013 15:50:37 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5OFnBqR013815; Mon, 24 Jun 2013 10:49:11 -0500 Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5OFnBPx004694; Mon, 24 Jun 2013 10:49:11 -0500 Received: from dlelxv24.itg.ti.com (172.17.1.199) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.2.342.3; Mon, 24 Jun 2013 10:49:10 -0500 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 r5OFnB9j013265; Mon, 24 Jun 2013 10:49:11 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id C712580628; Mon, 24 Jun 2013 10:49:10 -0500 (CDT) 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 7899D80627 for ; Mon, 24 Jun 2013 10:48:06 -0500 (CDT) Received: from neches.ext.ti.com (neches.ext.ti.com [192.91.81.29]) by dflp52.itg.ti.com (8.13.7/8.13.8) with ESMTP id r5OFm6Dq017098 for ; Mon, 24 Jun 2013 10:48:06 -0500 (CDT) Received: from mail6.bemta12.messagelabs.com (mail6.bemta12.messagelabs.com [216.82.250.247]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5OFm535031553 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Jun 2013 10:48:06 -0500 Received: from [216.82.250.99:56562] by server-5.bemta-12.messagelabs.com id 0C/5B-14016-53A68C15; Mon, 24 Jun 2013 15:48:05 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-13.tower-126.messagelabs.com!1372088882!9438547!1 X-Originating-IP: [209.85.160.47] X-SpamReason: No, hits=0.2 required=7.0 tests=ML_RADAR_SPEW_LINKS_14, RCVD_ILLEGAL_IP,spamassassin: X-StarScan-Received: X-StarScan-Version: 6.9.6; banners=-,-,- X-VirusChecked: Checked Received: (qmail 16283 invoked from network); 24 Jun 2013 15:48:03 -0000 Received: from mail-pb0-f47.google.com (HELO mail-pb0-f47.google.com) (209.85.160.47) by server-13.tower-126.messagelabs.com with RC4-SHA encrypted SMTP; 24 Jun 2013 15:48:03 -0000 Received: by mail-pb0-f47.google.com with SMTP id rr13so11104666pbb.6 for ; Mon, 24 Jun 2013 08:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=2cM4hNWXgOxiX7wSvGRptM2+Yp1VkpWqBSQbQE1TH9U=; b=oytt4TK+jgH3jkmZjbRMedHQ59K94eAlxuvCiQglSXgij2bWfmUuBtQ2YdJxmcjUtG oJx4GQbTZS200SaRX3Sl2kX9kYSfwb9nglVZ3zBniMnab79SI3C79t/DbIWMxsJtSDFX +YRe/7dZBiOzncZo134AJ9Jk464vaynZKNH7cFllXYO/xDdR0dZKNZHVqTwoQ14XbNDv trvO4r6vbASn+KQJXX5zWkl5BG0Fvm5Qjlakj/knEFQIS5GFEjFNIRcbzVkiumftH1Dt 9fgyfA3Ye0A3jqIDqfdBzRqrBnPanVlPLbB9vyEUpOUe/+eO8RoxuwHox4sayjFVGX45 rwmw== X-Received: by 10.66.221.132 with SMTP id qe4mr28605315pac.200.1372088882214; Mon, 24 Jun 2013 08:48:02 -0700 (PDT) Received: from localhost.localdomain ([1.23.212.230]) by mx.google.com with ESMTPSA id jf4sm10913730pbb.19.2013.06.24.08.47.57 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Jun 2013 08:48:01 -0700 (PDT) From: Prabhakar Lad To: Mauro Carvalho Chehab , LMML Subject: [PATCH 1/2] media: i2c: tvp7002: remove manual setting of subdev name Date: Mon, 24 Jun 2013 21:17:25 +0530 Message-ID: <1372088846-26263-2-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1372088846-26263-1-git-send-email-prabhakar.csengg@gmail.com> References: <1372088846-26263-1-git-send-email-prabhakar.csengg@gmail.com> CC: DLOS , LKML , Hans Verkuil , Laurent Pinchart 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 X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: "Lad, Prabhakar" This patch removes manual setting of subdev name in the probe, ideally subdev names must be unique. Signed-off-by: Lad, Prabhakar Cc: Hans Verkuil --- drivers/media/i2c/tvp7002.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/tvp7002.c b/drivers/media/i2c/tvp7002.c index 4896024..ba8a7b5 100644 --- a/drivers/media/i2c/tvp7002.c +++ b/drivers/media/i2c/tvp7002.c @@ -1065,7 +1065,6 @@ static int tvp7002_probe(struct i2c_client *c, const struct i2c_device_id *id) error = tvp7002_s_dv_timings(sd, &timings); #if defined(CONFIG_MEDIA_CONTROLLER) - strlcpy(sd->name, TVP7002_MODULE_NAME, sizeof(sd->name)); device->pad.flags = MEDIA_PAD_FL_SOURCE; device->sd.flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; device->sd.entity.flags |= MEDIA_ENT_T_V4L2_SUBDEV_DECODER;