From patchwork Fri Sep 20 08:36:20 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2915711 Return-Path: X-Original-To: patchwork-linux-media@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 80337BFF05 for ; Fri, 20 Sep 2013 08:36:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 79D87200C1 for ; Fri, 20 Sep 2013 08:36:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A9619201E7 for ; Fri, 20 Sep 2013 08:36:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754345Ab3ITIg1 (ORCPT ); Fri, 20 Sep 2013 04:36:27 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:35932 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754334Ab3ITIg0 (ORCPT ); Fri, 20 Sep 2013 04:36:26 -0400 Received: by mail-pd0-f172.google.com with SMTP id z10so126628pdj.17 for ; Fri, 20 Sep 2013 01:36:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Od98ft7nhJ4evJkCIpMRKckmUlyP5FARSdQMQSjotNI=; b=loILOegThI8Um1Mj8d7DV++u/6Mcfu/E/kA4W9NSd44MYw14HqwCaIKqlEyDJ3+Ku+ UbcMuWCTgXTwm75E7erfjHy0oJhhM30PSIJsBocENRR1CbL/YcEKLvMgcvf0NSnBLxWE 8cRY+DFQNmMphm4w7DfBFlS60u8BHdZmeLyQTCSWbVTKLjAlpeprXyBtBFARziBrOEsQ QvKZpzZIO/MXnSYWpttHoDOO38IBx2r4Xd1rEmaNaXTLvlE1gSf73JtUdA/qa0dlbjvQ jNy5e19sUYCliCSVed2aY/obMsnaKEUgLR0gwAtlCi64r+a4TRPbPGt175VIQbyQ7SUs LMwg== X-Gm-Message-State: ALoCoQlO8i088ZOaUgD5lyzgFBNLSGoxtlVh/89CSXCHzT2jx97djDp9bnyjeKaF16uAlo/izYL9 X-Received: by 10.68.232.3 with SMTP id tk3mr6583000pbc.121.1379666185852; Fri, 20 Sep 2013 01:36:25 -0700 (PDT) Received: from linaro.sisodomain.com ([115.113.119.130]) by mx.google.com with ESMTPSA id mr3sm14271180pbb.27.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Sep 2013 01:36:25 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, sachin.kamat@linaro.org Subject: [PATCH 8/9] [media] pci: bt878: Remove redundant pci_set_drvdata Date: Fri, 20 Sep 2013 14:06:20 +0530 Message-Id: <1379666181-19546-8-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1379666181-19546-1-git-send-email-sachin.kamat@linaro.org> References: <1379666181-19546-1-git-send-email-sachin.kamat@linaro.org> 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.6 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat Acked-by: Manu Abraham --- drivers/media/pci/bt8xx/bt878.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/pci/bt8xx/bt878.c b/drivers/media/pci/bt8xx/bt878.c index 66eb0ba..2bd2483 100644 --- a/drivers/media/pci/bt8xx/bt878.c +++ b/drivers/media/pci/bt8xx/bt878.c @@ -563,7 +563,6 @@ static void bt878_remove(struct pci_dev *pci_dev) bt->shutdown = 1; bt878_mem_free(bt); - pci_set_drvdata(pci_dev, NULL); pci_disable_device(pci_dev); return; }