From patchwork Fri Sep 20 08:36:19 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 2915701 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 0EC8CBFF05 for ; Fri, 20 Sep 2013 08:36:29 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E442A200C1 for ; Fri, 20 Sep 2013 08:36:27 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id BDB95201D3 for ; Fri, 20 Sep 2013 08:36:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754341Ab3ITIgZ (ORCPT ); Fri, 20 Sep 2013 04:36:25 -0400 Received: from mail-pb0-f54.google.com ([209.85.160.54]:41910 "EHLO mail-pb0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754334Ab3ITIgY (ORCPT ); Fri, 20 Sep 2013 04:36:24 -0400 Received: by mail-pb0-f54.google.com with SMTP id ro12so124962pbb.13 for ; Fri, 20 Sep 2013 01:36:23 -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=HM9naNF9pgj0FgdqAX0w69E7i8hMiojAJIfpa1yGvAo=; b=QVH6f9ec3+KbGB6spBLr8Maw7KFMsmbEwn6SVTt3Q8Vq/zWep9CbhVwVf/XeAOvnno juMGtY9Lby+EghgBOiVW0BDQp8PYn43EwbL7uYw8CRIUDaQgo/55gSxIDkN868Bg8DX2 wLzbEoOBaJouxwzfiGD8r5J+FPpluCTWvafEvPEjzrQBAybd4HfZDyEBleLlFHVpSekZ hspgPHHNUmombasfZLVtYWFlVp9vijkEkBiEBA899x99U0MdboWQzZNWsg8p8TFKW+z6 47xn/m3WV6BUX4smFyxOkiKWPpNvMRsdEYeivba1Shdk119+GK5/NV/TqnWdLpw98Eg0 Ua2w== X-Gm-Message-State: ALoCoQmagtydsqjOWD6dnh30zgCR680yIYf1VsDgmR7UHvNVNqKcuCUDwjHcCYSoBbrQpzeT4TWK X-Received: by 10.69.12.36 with SMTP id en4mr6687207pbd.54.1379666183823; Fri, 20 Sep 2013 01:36:23 -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:23 -0700 (PDT) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: m.chehab@samsung.com, sachin.kamat@linaro.org, Steven Toth Subject: [PATCH 7/9] [media] pci: saa7164: Remove redundant pci_set_drvdata Date: Fri, 20 Sep 2013 14:06:19 +0530 Message-Id: <1379666181-19546-7-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 Cc: Steven Toth --- drivers/media/pci/saa7164/saa7164-core.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/pci/saa7164/saa7164-core.c b/drivers/media/pci/saa7164/saa7164-core.c index d37ee37..41adf26 100644 --- a/drivers/media/pci/saa7164/saa7164-core.c +++ b/drivers/media/pci/saa7164/saa7164-core.c @@ -1439,7 +1439,6 @@ static void saa7164_finidev(struct pci_dev *pci_dev) /* unregister stuff */ free_irq(pci_dev->irq, dev); - pci_set_drvdata(pci_dev, NULL); mutex_lock(&devlist); list_del(&dev->devlist);