Message ID | 001c01ceaf84$7f9c0bc0$7ed42340$%han@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fbdev-owner@kernel.org> X-Original-To: patchwork-linux-fbdev@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 8CEFB9F476 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:51:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id A05682021E for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:51:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A3492021C for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:51:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755573Ab3ILGv1 (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Thu, 12 Sep 2013 02:51:27 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:62846 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755544Ab3ILGvZ (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Thu, 12 Sep 2013 02:51:25 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MT000DFT31F2960@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 12 Sep 2013 15:51:24 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.50]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id BE.46.29948.C6461325; Thu, 12 Sep 2013 15:51:24 +0900 (KST) X-AuditID: cbfee691-b7f4a6d0000074fc-e6-5231646cf304 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 76.6E.05832.C6461325; Thu, 12 Sep 2013 15:51:24 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MT000JRF31OE630@mmp2.samsung.com>; Thu, 12 Sep 2013 15:51:24 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Jean-Christophe PLAGNIOL-VILLARD' <plagnioj@jcrosoft.com> Cc: 'Tomi Valkeinen' <tomi.valkeinen@ti.com>, linux-fbdev@vger.kernel.org, 'Jingoo Han' <jg1.han@samsung.com> References: <001a01ceaf84$32c52d90$984f88b0$%han@samsung.com> In-reply-to: <001a01ceaf84$32c52d90$984f88b0$%han@samsung.com> Subject: [PATCH 02/21] video: carminefb: remove unnecessary pci_set_drvdata() Date: Thu, 12 Sep 2013 15:51:25 +0900 Message-id: <001c01ceaf84$7f9c0bc0$7ed42340$%han@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-index: Ac6vhDKuTCwbnQ4aTDC9KoLwWMziagAAC9eg Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsVy+t8zI92cFMMggx0TDC0uL7zEanGi7wOr xbqHL5gs1s+/xebA4vHqwh0Wj74tqxg9jt/YzuTxeZNcAEsUl01Kak5mWWqRvl0CV8bkBa+Z Cg6wVtzaLdDAeIKli5GTQ0LARKL13CdmCFtM4sK99WxdjFwcQgLLGCXu73jNBlP042EvO0Ri OqPE/s8rWCCcX4wS7X/mgLWzCahJfPlymB3EFhGwk1h48RIriM0skC+xZUkbmC0kYCux9M1t sNWcQDVfji0E2yAs4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vOT93EyM45p9J72Bc1WBxiFGAg1GJh7djlkGQ EGtiWXFl7iFGCQ5mJRHeeHPDICHelMTKqtSi/Pii0pzU4kOMyUCPTmSWEk3OB6ajvJJ4Q2MT MyNLIzMLIxNzc9KElcR5D7ZaBwoJpCeWpGanphakFsFsYeLglGpgrLzksiTnji7TRTfPgztk 9mYoe3UK9Gju6Dp34Tp7krwa83rnz5c6zU6dXSfn3q8eufDpy+c3Ysyfav2SPKLhkKPqKfTy REXVO5YbjAwBF1du+HfQwuh3YedReeenRdc1niyJ002se3r5+ay/OQt0l7w8GXvMV6prs2// ZcvlCaIJ9+9OnvjWVomlOCPRUIu5qDgRAA1vQco9AwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: <linux-fbdev.vger.kernel.org> X-Mailing-List: linux-fbdev@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 |
diff --git a/drivers/video/carminefb.c b/drivers/video/carminefb.c index 153dd65..b98f709 100644 --- a/drivers/video/carminefb.c +++ b/drivers/video/carminefb.c @@ -746,7 +746,6 @@ static void carminefb_remove(struct pci_dev *dev) iounmap(hw->v_regs); release_mem_region(fix.mmio_start, fix.mmio_len); - pci_set_drvdata(dev, NULL); pci_disable_device(dev); kfree(hw); }
The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> --- drivers/video/carminefb.c | 1 - 1 file changed, 1 deletion(-)