Message ID | 001b01ceaf84$64d222c0$2e766840$%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 72CD89F476 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:50:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 71CD62021C for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:50:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2DCA2202C8 for <patchwork-linux-fbdev@patchwork.kernel.org>; Thu, 12 Sep 2013 06:50:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753876Ab3ILGus (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Thu, 12 Sep 2013 02:50:48 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:62690 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754270Ab3ILGuq (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Thu, 12 Sep 2013 02:50:46 -0400 Received: from epcpsbgr3.samsung.com (u143.gpu120.samsung.co.kr [203.254.230.143]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MT000GPN30D9PI0@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 12 Sep 2013 15:50:40 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.51]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id EA.65.20109.F3461325; Thu, 12 Sep 2013 15:50:39 +0900 (KST) X-AuditID: cbfee68f-b7f1e6d000004e8d-70-5231643f435b Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 33.4E.05832.F3461325; Thu, 12 Sep 2013 15:50:39 +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 <0MT000JHM30F6N70@mmp2.samsung.com>; Thu, 12 Sep 2013 15:50:39 +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 01/21] video: arkfb: remove unnecessary pci_set_drvdata() Date: Thu, 12 Sep 2013 15:50:40 +0900 Message-id: <001b01ceaf84$64d222c0$2e766840$%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: Ac6vhDKuTCwbnQ4aTDC9KoLwWMziagAABL1g Content-language: ko x-cr-hashedpuzzle: d+Y= CXY/ HeUp IY5f IbWk P5kj Q2Ho T3af WOsD ZTf4 cu2B dk7U h7cS jg/r k/Qi qt5o; 4; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA7AGwAaQBuAHUAeAAtAGYAYgBkAGUAdgBAAHYAZwBlAHIALgBrAGUAcgBuAGUAbAAuAG8AcgBnADsAcABsAGEAZwBuAGkAbwBqAEAAagBjAHIAbwBzAG8AZgB0AC4AYwBvAG0AOwB0AG8AbQBpAC4AdgBhAGwAawBlAGkAbgBlAG4AQAB0AGkALgBjAG8AbQA=; Sosha1_v1; 7; {DCD6A0D0-147D-4235-A6D2-7236F07E348D}; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA=; Thu, 12 Sep 2013 06:50:33 GMT; WwBQAEEAVABDAEgAIAAwADEALwAyADEAXQAgAHYAaQBkAGUAbwA6ACAAYQByAGsAZgBiADoAIAByAGUAbQBvAHYAZQAgAHUAbgBuAGUAYwBlAHMAcwBhAHIAeQAgAHAAYwBpAF8AcwBlAHQAXwBkAHIAdgBkAGEAdABhACgAKQA= x-cr-puzzleid: {DCD6A0D0-147D-4235-A6D2-7236F07E348D} X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrKIsWRmVeSWpSXmKPExsVy+t8zY137FMMgg5+nLSwuL7zEanGi7wOr xbqHL5gs1s+/xebA4vHqwh0Wj74tqxg9jt/YzuTxeZNcAEsUl01Kak5mWWqRvl0CV8aXP/+Z CmazVjRNk2xgnM/SxcjJISFgIrFv5V42CFtM4sK99UA2F4eQwDJGibbji4EcDrCi+weKIOLT GSVeTr/DDuH8AnIWLwObxCagJvHly2F2EFtEwE5i4cVLrCA2s0C+xJYlbWC2kICtxNI3t8Hq OYFqvhxbCLZZWMBT4u2tJ2BxFgFViacXbzGB2LxA9W/7rjBC2IISPybfY4GYqSWxfudxJghb XmLzmrfMEIeqSzz6qwtxgpHEkq/PoU4Qkdj34h0jyM0SAlNYJf6/6meF+NhUYuKUD0wQiUfs En131zBCHCEg8W3yIRaIobISmw4wQ9RLShxccYNlAqPULCQnzUJy0iwkJ81CsnsBI8sqRtHU guSC4qT0ImO94sTc4tK8dL3k/NxNjJAo7t/BePeA9SHGZKD1E5mlRJPzgUkgryTe0NjMyMLU xNTYyNzSjDRhJXFetRbrQCGB9MSS1OzU1ILUovii0pzU4kOMTBycUg2Mmum8/ApR1Rtq1x5a dlb9P9Pzje++5S+uWGwhqbrodeChZ4WOK1kd2nNb2d4dPeUXUja79Cn7q5fe/f5mUbbfu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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/arkfb.c b/drivers/video/arkfb.c index 94a51f1..ff6e304b 100644 --- a/drivers/video/arkfb.c +++ b/drivers/video/arkfb.c @@ -1108,7 +1108,6 @@ static void ark_pci_remove(struct pci_dev *dev) pci_release_regions(dev); /* pci_disable_device(dev); */ - pci_set_drvdata(dev, 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/arkfb.c | 1 - 1 file changed, 1 deletion(-)