From patchwork Wed Oct 2 22:09:27 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luis Alves X-Patchwork-Id: 2978941 Return-Path: X-Original-To: patchwork-linux-media@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 679C89F288 for ; Wed, 2 Oct 2013 22:09:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A858C202E5 for ; Wed, 2 Oct 2013 22:09:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DA2FB202DD for ; Wed, 2 Oct 2013 22:09:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753552Ab3JBWJc (ORCPT ); Wed, 2 Oct 2013 18:09:32 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:39098 "EHLO mail-wi0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752983Ab3JBWJc (ORCPT ); Wed, 2 Oct 2013 18:09:32 -0400 Received: by mail-wi0-f181.google.com with SMTP id ex4so1666353wid.2 for ; Wed, 02 Oct 2013 15:09:31 -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; bh=FxH4YxVIW5HD2s72wbMFCORT56SLJBBBDYWTivEYBq8=; b=zmONeWuWkj5XtT0t+L921J13DYUAndzAyk3OPc78KFCUR9VaXWAx2VlrFutNp+/4xj D8+XUTxRZdLdhi1z/1+S9DD5mKwb577te3lPLPXE8fAMN/GackZaVDmc22Uw8ITdxuKt KWlPopd/Jq9Q7eqpkCu6qNOrHL1ubwdd03uctVfcrYXI3xVmrPSZQ8MPGFtQVmlMqhI/ mUe33m6X1s7JHFjXN4WrkmmJsh05rucIrJlDOLJm6aFmvUKIy47VyMXjnEt8D2ggPQFV vvYA6iWc9AGKIlhi/sd3FHAayDkt+Q0nfn4HLVzQqflMERFJvLdooqyLcG02C7Gn0YfU /ctA== X-Received: by 10.180.185.10 with SMTP id ey10mr3983837wic.29.1380751771202; Wed, 02 Oct 2013 15:09:31 -0700 (PDT) Received: from localhost.localdomain (a89-152-209-152.cpe.netcabo.pt. [89.152.209.152]) by mx.google.com with ESMTPSA id dq11sm20580108wid.3.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 02 Oct 2013 15:09:30 -0700 (PDT) From: Luis Alves To: mkrufky@linuxtv.org Cc: crope@iki.fi, linux-media@vger.kernel.org, mchehab@infradead.org, Luis Alves Subject: [PATCH 2/2] cx24117: Removed from cx23885 the no longer needed frontend pointer from the dvb_attach function. Date: Wed, 2 Oct 2013 23:09:27 +0100 Message-Id: <1380751767-4891-1-git-send-email-ljalvs@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 cx23885 changes: to be used against mkrufky/cx24117 branch Signed-off-by: Luis Alves --- drivers/media/pci/cx23885/cx23885-dvb.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/media/pci/cx23885/cx23885-dvb.c b/drivers/media/pci/cx23885/cx23885-dvb.c index 34120db..0549205 100644 --- a/drivers/media/pci/cx23885/cx23885-dvb.c +++ b/drivers/media/pci/cx23885/cx23885-dvb.c @@ -1058,20 +1058,13 @@ static int dvb_register(struct cx23885_tsport *port) case 1: fe0->dvb.frontend = dvb_attach(cx24117_attach, &tbs_cx24117_config, - &i2c_bus->i2c_adap, NULL); + &i2c_bus->i2c_adap); break; /* PORT C */ case 2: - /* use fe1 pointer as temporary holder */ - /* for the first frontend */ - fe1 = videobuf_dvb_get_frontend( - &port->dev->ts1.frontends, 1); - fe0->dvb.frontend = dvb_attach(cx24117_attach, &tbs_cx24117_config, - &i2c_bus->i2c_adap, fe1->dvb.frontend); - /* we're done, so clear fe1 pointer */ - fe1 = NULL; + &i2c_bus->i2c_adap); break; } break;