From patchwork Mon Jun 24 15:47:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 2772171 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 18825C0AB1 for ; Mon, 24 Jun 2013 15:50:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 498D12023F for ; Mon, 24 Jun 2013 15:50:42 +0000 (UTC) Received: from devils.ext.ti.com (devils.ext.ti.com [198.47.26.153]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id F3EA720230 for ; Mon, 24 Jun 2013 15:50:40 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5OFnEKU030164; Mon, 24 Jun 2013 10:49:14 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id r5OFnExN004828; Mon, 24 Jun 2013 10:49:14 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by DFLE73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.2.342.3; Mon, 24 Jun 2013 10:49:13 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id r5OFnDkp010540; Mon, 24 Jun 2013 10:49:13 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id EBBF580626; Mon, 24 Jun 2013 10:49:12 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp53.itg.ti.com (dflp53.itg.ti.com [128.247.5.6]) by linux.omap.com (Postfix) with ESMTP id 9256480628 for ; Mon, 24 Jun 2013 10:48:09 -0500 (CDT) Received: from neches.ext.ti.com (neches.ext.ti.com [192.91.81.29]) by dflp53.itg.ti.com (8.13.8/8.13.8) with ESMTP id r5OFm9mI004904 for ; Mon, 24 Jun 2013 10:48:09 -0500 (CDT) Received: from mail6.bemta7.messagelabs.com (mail6.bemta7.messagelabs.com [216.82.255.55]) by neches.ext.ti.com (8.13.7/8.13.7) with ESMTP id r5OFm9i0031567 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 24 Jun 2013 10:48:09 -0500 Received: from [216.82.253.67:62946] by server-13.bemta-7.messagelabs.com id 93/31-01729-83A68C15; Mon, 24 Jun 2013 15:48:08 +0000 X-Env-Sender: prabhakar.csengg@gmail.com X-Msg-Ref: server-3.tower-158.messagelabs.com!1372088887!10217551!1 X-Originating-IP: [209.85.220.51] 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 24695 invoked from network); 24 Jun 2013 15:48:07 -0000 Received: from mail-pa0-f51.google.com (HELO mail-pa0-f51.google.com) (209.85.220.51) by server-3.tower-158.messagelabs.com with RC4-SHA encrypted SMTP; 24 Jun 2013 15:48:07 -0000 Received: by mail-pa0-f51.google.com with SMTP id lf11so11175957pab.10 for ; Mon, 24 Jun 2013 08:48:06 -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=vudGhQFLiLFhSGV/CtVqJzSheHAwst+u1jTeU8827js=; b=Zviqin1AzsuPDIigpl0I0gfFuDkprS5npy8J+dOnzglwBihgqllOqLB74u9AGLSJox rlLcUdDMkBe+qWyrzEt8MAHuJWPyCqpRX2q+yTFJpOoPP6pKnM3zkTaJFNOPRvVU2CCi ft0lheFm6MoLwnEVGmpuUFjkIKoASDAuqN3qbUkSVu4tprN8flW+IGOWSQ/U8TWsUvVG lo8DNBALSaNKJ+vLWLRGwz9fRD7gH3xrtfUXxTjOHW0aRb+oO/ZSQWbzbaeuF3qS02UQ 49PtCvU+9UAzHUCvnUUnEayEBPWi+ozhhQHUHXMgi1fcb/4tu/iouEZdcCeUUhIR/mya xxiA== X-Received: by 10.68.175.33 with SMTP id bx1mr24134363pbc.21.1372088886812; Mon, 24 Jun 2013 08:48:06 -0700 (PDT) Received: from localhost.localdomain ([1.23.212.230]) by mx.google.com with ESMTPSA id jf4sm10913730pbb.19.2013.06.24.08.48.02 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Jun 2013 08:48:05 -0700 (PDT) From: Prabhakar Lad To: Mauro Carvalho Chehab , LMML Subject: [PATCH 2/2] media: i2c: tvp514x: remove manual setting of subdev name Date: Mon, 24 Jun 2013 21:17:26 +0530 Message-ID: <1372088846-26263-3-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/tvp514x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/tvp514x.c b/drivers/media/i2c/tvp514x.c index 864eb14..6578976 100644 --- a/drivers/media/i2c/tvp514x.c +++ b/drivers/media/i2c/tvp514x.c @@ -1148,7 +1148,6 @@ tvp514x_probe(struct i2c_client *client, const struct i2c_device_id *id) /* Register with V4L2 layer as slave device */ sd = &decoder->sd; v4l2_i2c_subdev_init(sd, client, &tvp514x_ops); - strlcpy(sd->name, TVP514X_MODULE_NAME, sizeof(sd->name)); #if defined(CONFIG_MEDIA_CONTROLLER) decoder->pad.flags = MEDIA_PAD_FL_SOURCE;