Message ID | 001f01cee985$0b235470$2169fd50$%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@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 B76D2C045B for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 02:21:31 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F1BF720204 for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 02:21:30 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C4A2A201FE for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 02:21:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752560Ab3KYCV3 (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Sun, 24 Nov 2013 21:21:29 -0500 Received: from mailout1.samsung.com ([203.254.224.24]:17331 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753207Ab3KYCV2 (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Sun, 24 Nov 2013 21:21:28 -0500 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MWS00AAQRVQSC00@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 25 Nov 2013 11:21:27 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id E8.0B.18459.624B2925; Mon, 25 Nov 2013 11:21:26 +0900 (KST) X-AuditID: cbfee68f-b7f336d00000481b-4a-5292b4268167 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 67.23.01270.624B2925; Mon, 25 Nov 2013 11:21:26 +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 <0MWS0063VRVQXA00@mmp2.samsung.com>; Mon, 25 Nov 2013 11:21:26 +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> Subject: [PATCH 1/4] video: asiliantfb: remove unnecessary pci_set_drvdata() Date: Mon, 25 Nov 2013 11:21:26 +0900 Message-id: <001f01cee985$0b235470$2169fd50$%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: Ac7phQsIbETGq0sjRtCfpBr3kpLozA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrMIsWRmVeSWpSXmKPExsVy+t8zA121LZOCDJZcsbS4vPASq8WJvg+s FusevmCyWD//FpsDi8erC3dYPPq2rGL0OH5jO5PH501yASxRXDYpqTmZZalF+nYJXBmrf/1g KnjLWvF94Su2BsbPLF2MnBwSAiYSk+5dZIOwxSQu3FsPZgsJLGOUmPiFC6bmw9JlTF2MXEDx 6YwSq89uZIVwfjFKLHvZxgxSxSagJvHly2F2EFtEwE5i4cVLrCA2s0C+xJYlbUA2B4ewgI/E us2mICaLgKpEx6xqkApeAVuJ+9ffMULYghI/Jt9jgejUkli/8zgThC0vsXnNW2aQVgkBdYlH f3UhFulJTH44B6pcRGLfC5AxXEAlm9glXv9+AH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wtSi2C2MHFwSjUwRlo9DZQUP6v2+MwNm0uGyacupi2Z8cZXOLL+ZY4W Q2xf6d29m65kvNJyfr5lw7fXV11mTOpaxBSzWMbzoOz6u1FmhzfJb/Sb5eteuavdujqpu3n9 xF2Cu/pjlqaFX/SbvGdjf71MSkF8if08Hs7252oc82+vejf74+YZBpdWnP51droGZ2jSESWW 4oxEQy3mouJEAMMsIE8kAwAA 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=-6.9 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/asiliantfb.c b/drivers/video/asiliantfb.c index d611f1a..7e8ddf0 100644 --- a/drivers/video/asiliantfb.c +++ b/drivers/video/asiliantfb.c @@ -589,7 +589,6 @@ static void asiliantfb_remove(struct pci_dev *dp) fb_dealloc_cmap(&p->cmap); iounmap(p->screen_base); release_mem_region(pci_resource_start(dp, 0), pci_resource_len(dp, 0)); - pci_set_drvdata(dp, NULL); framebuffer_release(p); }
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/asiliantfb.c | 1 - 1 file changed, 1 deletion(-)