Message ID | 002501ceaf85$3693cc50$a3bb64f0$%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 89C559F478 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:56:45 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B4AAD2021E for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:56:44 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A5EBF2021C for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:56:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754058Ab3ILG4n (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Thu, 12 Sep 2013 02:56:43 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:28931 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752273Ab3ILG4m (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Thu, 12 Sep 2013 02:56:42 -0400 Received: from epcpsbgr5.samsung.com (u145.gpu120.samsung.co.kr [203.254.230.145]) by mailout1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MT0001823AAUZR0@mailout1.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 12 Sep 2013 15:56:34 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.48]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 0C.F8.29948.F9561325; Thu, 12 Sep 2013 15:56:32 +0900 (KST) X-AuditID: cbfee691-b7f4a6d0000074fc-18-5231659ffcff Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id ED.95.09055.F9561325; Thu, 12 Sep 2013 15:56:31 +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 <0MT000JS53A7GA60@mmp2.samsung.com>; Thu, 12 Sep 2013 15:56:31 +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 11/21] video: kyrofb: remove unnecessary pci_set_drvdata() Date: Thu, 12 Sep 2013 15:56:32 +0900 Message-id: <002501ceaf85$3693cc50$a3bb64f0$%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: Ac6vhDKuTCwbnQ4aTDC9KoLwWMziagAAPJJQ Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLIsWRmVeSWpSXmKPExsVy+t8zA90FqYZBBhMULS4vvMRqcaLvA6vF uocvmCzWz7/F5sDi8erCHRaPvi2rGD2O39jO5PF5k1wASxSXTUpqTmZZapG+XQJXxoxHa1gL ZrBWTG35wtLAuJili5GTQ0LAROLZvVnsELaYxIV769m6GLk4hASWMUosPPmHEabo9IVTLBCJ 6YwSTX9vMEE4vxglerZvZAapYhNQk/jy5TDYKBEBO4mFFy+xgtjMAvkSW5a0gdlCArYSS9/c BlvNCVTz5dhCNhBbWMBL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u4mRnDUP5PawbiyweIQowAHoxIPb8cs gyAh1sSy4srcQ4wSHMxKIrzx5oZBQrwpiZVVqUX58UWlOanFhxiTgR6dyCwlmpwPTEh5JfGG xiZmRpZGZhZGJubmpAkrifMeaLUOFBJITyxJzU5NLUgtgtnCxMEp1cA4oysu8UtbeEtaidWi trhjQVveK1n9Vnly8Cl3V76D3prvDgv+cBydkbX7dXrNdKu5WXeTb10//fferTZ5p8Y9Bu8P FF1rW3N2V+5Ei4X/GFwqmh9+EUk62PrdNj9xxd1rj8R6c/cenjJJ/vaHz4YJUyfPv91XIX5p 5V6FzSUBx5pb77x6wGLUpMRSnJFoqMVcVJwIAIPSDBU+AwAA 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/kyro/fbdev.c b/drivers/video/kyro/fbdev.c index 6157f74..c82f040 100644 --- a/drivers/video/kyro/fbdev.c +++ b/drivers/video/kyro/fbdev.c @@ -779,7 +779,6 @@ static void kyrofb_remove(struct pci_dev *pdev) #endif unregister_framebuffer(info); - pci_set_drvdata(pdev, NULL); framebuffer_release(info); }
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/kyro/fbdev.c | 1 - 1 file changed, 1 deletion(-)