Message ID | 002601ceaf85$4ce880e0$e6b982a0$%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 E07AB9F478 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:57:16 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 0B2F62021E for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:57:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D389E2021C for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:57:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256Ab3ILG5L (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Thu, 12 Sep 2013 02:57:11 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:41497 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753814Ab3ILG5K (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Thu, 12 Sep 2013 02:57:10 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MT0008G939TYAE0@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 12 Sep 2013 15:57:09 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id BD.B4.31253.5C561325; Thu, 12 Sep 2013 15:57:09 +0900 (KST) X-AuditID: cbfee690-b7f3b6d000007a15-b7-523165c5438f Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 0F.D5.09055.5C561325; Thu, 12 Sep 2013 15:57:09 +0900 (KST) Received: from DOJG1HAN03 ([12.23.120.99]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0MT000M0C3B8DND1@mmp1.samsung.com>; Thu, 12 Sep 2013 15:57:09 +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 12/21] video: mb862xxfb: remove unnecessary pci_set_drvdata() Date: Thu, 12 Sep 2013 15:57:09 +0900 Message-id: <002601ceaf85$4ce880e0$e6b982a0$%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: Ac6vhDKuTCwbnQ4aTDC9KoLwWMziagAAQT7g Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrDIsWRmVeSWpSXmKPExsVy+t8zA92jqYZBBt8m8FtcXniJ1eJE3wdW i3UPXzBZrJ9/i82BxePVhTssHn1bVjF6HL+xncnj8ya5AJYoLpuU1JzMstQifbsEroxT8/ex FfxnrVj6tZm9gbGDtYuRk0NCwESis/U3I4QtJnHh3nq2LkYuDiGBZYwSF47eASriACvquh0J EV/EKPF1WisLhPOLUeLf4WVgk9gE1CS+fDnMDmKLCNhJLLx4CSzOLJAvsWVJG5gtJGArsfTN bRYQmxOo5suxhWwg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nFibnFpXrpecn7uJkZwxD+T2sG4ssHiEKMAB6MSD2/H LIMgIdbEsuLK3EOMEhzMSiK88eaGQUK8KYmVValF+fFFpTmpxYcYk4H+nMgsJZqcD0xGeSXx hsYmZkaWRmYWRibm5qQJK4nzHmi1DhQSSE8sSc1OTS1ILYLZwsTBKdXAWC8n6LL6+ZKKwhIu tb2xL8q/tRl4nJ20on3KlvNhxtsv8mVX6+2+ELPox5nzFUllD31NgjZnb7Cxrp/3SExEOds5 pP6nXoOcnkHwm+quEwb/pI+knzqxts1/9bq/8j6vBavL7oqIfW/Wety+31qJu83z3KLEC0YL 9t+4+d1SiP31mf/bnlRsUmIpzkg01GIuKk4EADuryG48AwAA 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/mb862xx/mb862xxfbdrv.c b/drivers/video/mb862xx/mb862xxfbdrv.c index 91c59c9..98d2f8c 100644 --- a/drivers/video/mb862xx/mb862xxfbdrv.c +++ b/drivers/video/mb862xx/mb862xxfbdrv.c @@ -1157,7 +1157,6 @@ static void mb862xx_pci_remove(struct pci_dev *pdev) device_remove_file(&pdev->dev, &dev_attr_dispregs); - pci_set_drvdata(pdev, NULL); unregister_framebuffer(fbi); fb_dealloc_cmap(&fbi->cmap);
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/mb862xx/mb862xxfbdrv.c | 1 - 1 file changed, 1 deletion(-)