Message ID | 002201cee98d$5777e9a0$0667bce0$%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 1EF8A9F3B8 for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 03:20:55 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 574EE20254 for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 03:20:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6783C20253 for <patchwork-linux-fbdev@patchwork.kernel.org>; Mon, 25 Nov 2013 03:20:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753405Ab3KYDUw (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Sun, 24 Nov 2013 22:20:52 -0500 Received: from mailout3.samsung.com ([203.254.224.33]:10456 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753251Ab3KYDUv (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Sun, 24 Nov 2013 22:20:51 -0500 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 <0MWS00FACUMRJY70@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Mon, 25 Nov 2013 12:20:51 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr5.samsung.com (EPCPMTA) with SMTP id 78.C2.18608.212C2925; Mon, 25 Nov 2013 12:20:51 +0900 (KST) X-AuditID: cbfee691-b7f666d0000048b0-80-5292c212a9f5 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 94.2C.02580.212C2925; Mon, 25 Nov 2013 12:20:50 +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 <0MWS00CKTUMQREK0@mmp1.samsung.com>; Mon, 25 Nov 2013 12:20:50 +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: <001f01cee985$0b235470$2169fd50$%han@samsung.com> In-reply-to: <001f01cee985$0b235470$2169fd50$%han@samsung.com> Subject: [PATCH 4/4] video: vmlfb: remove unnecessary pci_set_drvdata() Date: Mon, 25 Nov 2013 12:20:50 +0900 Message-id: <002201cee98d$5777e9a0$0667bce0$%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: Ac7phQsIbETGq0sjRtCfpBr3kpLozAACC1hw Content-language: ko x-cr-hashedpuzzle: AHyC CJVG GrV6 IrIT JjuP J7yi NzrK V4tR e5az hhMP k5PF r1Xd tWkg t21r uFoZ vRSv; 4; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA7AGwAaQBuAHUAeAAtAGYAYgBkAGUAdgBAAHYAZwBlAHIALgBrAGUAcgBuAGUAbAAuAG8AcgBnADsAcABsAGEAZwBuAGkAbwBqAEAAagBjAHIAbwBzAG8AZgB0AC4AYwBvAG0AOwB0AG8AbQBpAC4AdgBhAGwAawBlAGkAbgBlAG4AQAB0AGkALgBjAG8AbQA=; Sosha1_v1; 7; {AE644F5F-38B1-4BFA-B6AE-24D06F360C99}; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA=; Mon, 25 Nov 2013 03:20:43 GMT; WwBQAEEAVABDAEgAIAA0AC8ANABdACAAdgBpAGQAZQBvADoAIAB2AG0AbABmAGIAOgAgAHIAZQBtAG8AdgBlACAAdQBuAG4AZQBjAGUAcwBzAGEAcgB5ACAAcABjAGkAXwBzAGUAdABfAGQAcgB2AGQAYQB0AGEAKAApAA== x-cr-puzzleid: {AE644F5F-38B1-4BFA-B6AE-24D06F360C99} X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrMIsWRmVeSWpSXmKPExsVy+t8zY13hQ5OCDG6kWVxeeInV4kTfB1aL dQ9fMFmsn3+LzYHF49WFOywefVtWMXocv7GdyePzJrkAligum5TUnMyy1CJ9uwSujPnLPzMX bGCrOHvoB1MD4wbWLkYODgkBE4mZL0O7GDmBTDGJC/fWs3UxcnEICSxjlDi2aBErRMJE4uff ThaIxCJGic+9c5ghnF+MEo96XrCDVLEJqEl8+XIYzBYRsJNYePESWDezQL7EliVtYNuEBGwl nqwxBjE5gUo+teiCVAgLuEs0zvzOCGKzCKhKNO+6A2bzAlUvenaPGcIWlPgx+R4LxEQtifU7 jzNB2PISm9e8ZYb4RV3i0V9diAOMJLav/80MUSIise/FO0aQiyUEJrBK9G9Zxwzxl6nEky8f 2SESj9glNm9/zApxhIDEt8mHWCCGykpsOgBVLylxcMUNlgmMUrOQnDQLyUmzkJw0C8nuBYws qxhFUwuSC4qT0otM9YoTc4tL89L1kvNzNzFCInjiDsb7B6wPMSYDrZ/ILCWanA9MAHkl8YbG ZkYWpiamxkbmlmakCSuJ86Y/SgoSEkhPLEnNTk0tSC2KLyrNSS0+xMjEwSnVwKij56YV2i32 an7mepaAcpO1h1X1uO125DAFMk058bgktyObW3blGc3KTga7ySVqhZqTg3nSLsVc8FKatOXY jgUfk5YpiXFGh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 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/vermilion/vermilion.c b/drivers/video/vermilion/vermilion.c index 09a1366..048a666 100644 --- a/drivers/video/vermilion/vermilion.c +++ b/drivers/video/vermilion/vermilion.c @@ -383,7 +383,6 @@ static void vmlfb_disable_mmio(struct vml_par *par) static void vmlfb_release_devices(struct vml_par *par) { if (atomic_dec_and_test(&par->refcount)) { - pci_set_drvdata(par->vdc, NULL); pci_disable_device(par->gpu); pci_disable_device(par->vdc); }
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/vermilion/vermilion.c | 1 - 1 file changed, 1 deletion(-)