From patchwork Thu Sep 12 06:55:29 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2876431 Return-Path: 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 957EBBF43F for ; Thu, 12 Sep 2013 06:55:40 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id C26EE202C8 for ; Thu, 12 Sep 2013 06:55:39 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id DF1FB2021C for ; Thu, 12 Sep 2013 06:55:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757195Ab3ILGzd (ORCPT ); Thu, 12 Sep 2013 02:55:33 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:63725 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756556Ab3ILGza (ORCPT ); Thu, 12 Sep 2013 02:55:30 -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 <0MT000FBH380I3J0@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 12 Sep 2013 15:55:29 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr3.samsung.com (EPCPMTA) with SMTP id AF.77.20109.16561325; Thu, 12 Sep 2013 15:55:29 +0900 (KST) X-AuditID: cbfee68f-b7f1e6d000004e8d-d9-523165611c91 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 4F.45.09055.16561325; Thu, 12 Sep 2013 15:55:29 +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 <0MT000J8H38HGA60@mmp2.samsung.com>; Thu, 12 Sep 2013 15:55:29 +0900 (KST) From: Jingoo Han To: 'Jean-Christophe PLAGNIOL-VILLARD' Cc: 'Tomi Valkeinen' , linux-fbdev@vger.kernel.org, 'Jingoo Han' , 'Antonino Daplas' References: <001a01ceaf84$32c52d90$984f88b0$%han@samsung.com> In-reply-to: <001a01ceaf84$32c52d90$984f88b0$%han@samsung.com> Subject: [PATCH 09/21] video: i810fb: remove unnecessary pci_set_drvdata() Date: Thu, 12 Sep 2013 15:55:29 +0900 Message-id: <002301ceaf85$115c5ce0$341516a0$%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: Ac6vhDKuTCwbnQ4aTDC9KoLwWMziagAAMb0A Content-language: ko x-cr-hashedpuzzle: Af9/ A+MO EZ4l NIGx O2vy Sm90 UENC WW5+ Wv1S eJcb gIDT gri8 g3va hi39 qqVc uA33; 5; YQBkAGEAcABsAGEAcwBAAGcAbQBhAGkAbAAuAGMAbwBtADsAagBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA7AGwAaQBuAHUAeAAtAGYAYgBkAGUAdgBAAHYAZwBlAHIALgBrAGUAcgBuAGUAbAAuAG8AcgBnADsAcABsAGEAZwBuAGkAbwBqAEAAagBjAHIAbwBzAG8AZgB0AC4AYwBvAG0AOwB0AG8AbQBpAC4AdgBhAGwAawBlAGkAbgBlAG4AQAB0AGkALgBjAG8AbQA=; Sosha1_v1; 7; {B504C39A-FEFD-45D0-B72E-E839B0FD5CFF}; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA=; Thu, 12 Sep 2013 06:55:22 GMT; WwBQAEEAVABDAEgAIAAwADkALwAyADEAXQAgAHYAaQBkAGUAbwA6ACAAaQA4ADEAMABmAGIAOgAgAHIAZQBtAG8AdgBlACAAdQBuAG4AZQBjAGUAcwBzAGEAcgB5ACAAcABjAGkAXwBzAGUAdABfAGQAcgB2AGQAYQB0AGEAKAApAA== x-cr-puzzleid: {B504C39A-FEFD-45D0-B72E-E839B0FD5CFF} X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAIsWRmVeSWpSXmKPExsVy+t8zY93EVMMgg8XP5C1+dn9hs7i88BKr xYm+D6wW6x6+YLJYP/8WmwOrx85Zd9k9Xl24w+LRt2UVo8fxG9uZPD5vkgtgjeKySUnNySxL LdK3S+DK2Dd/B3vBGraK3Q92MTcw/mHpYuTkkBAwkXiz4wcThC0mceHeerYuRi4OIYFljBKL VzWzwxRt/tjICpGYzijxdPtsRgjnF6PEm6udbCBVbAJqEl++HAbrEBGwk1h48RJYB7PANEaJ +zf+gCWEBGwllr65DbabE6joy7GFYM3CAl4Sr1ZuB6thEVCVePzmNFAzBwcvUP29j44gYV4B QYkfk++BtTILaEms33mcCcKWl9i85i0zSLmEgLrEo7+6ECcYSZzav54ZokREYt+Ld2A3Swic YJW4PfUGK0S9qcTln54Q8Z/sEqvWX2WFOEFA4tvkQywQNbISmw4wQwJCUuLgihssExilZiG5 aBaSi2YhuWgWktULGFlWMYqmFiQXFCelFxnrFSfmFpfmpesl5+duYoTEdv8OxrsHrA8xJgOt n8gsJZqcD0wNeSXxhsZmRhamJqbGRuaWZqQJK4nzqrVYBwoJpCeWpGanphakFsUXleakFh9i ZOLglGpg5GoRcL0490bV7vy70RxLMn9EykzxVPU/feXBsUX6PHcW1/TVNOjYvKyMUXmkonTz +J1THv5X33e2sYk0W6g9+VJYI7zj4tyrHednPlg75b7Zwf02za7yD1i97/iePPp4zb5H5WGP nv9JF507Q8dx7swyw4jli2x4TGIMs2KYA16d/3kg++79A0osxRmJhlrMRcWJAFZeKXQDAwAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrLKsWRmVeSWpSXmKPExsVy+t9jQd3EVMMggxttMhY/u7+wWVxeeInV 4kTfB1aLdQ9fMFmsn3+LzYHVY+esu+wery7cYfHo27KK0eP4je1MHp83yQWwRjUw2mSkJqak Fimk5iXnp2TmpdsqeQfHO8ebmhkY6hpaWpgrKeQl5qbaKrn4BOi6ZeYAbVdSKEvMKQUKBSQW Fyvp22GaEBripmsB0xih6xsSBNdjZIAGEtYxZuybv4O9YA1bxe4Hu5gbGP+wdDFyckgImEhs /tjICmGLSVy4t56ti5GLQ0hgOqPE0+2zGSGcX4wSb652soFUsQmoSXz5cpgdxBYRsJNYePES K0gRs8A0Ron7N/6AJYQEbCWWvrkNtoITqOjLsYVgzcICXhKvVm4Hq2ERUJV4/OY0UDMHBy9Q /b2PjiBhXgFBiR+T74G1MgtoSazfeZwJwpaX2LzmLTNIuYSAusSjv7oQJxhJnNq/nhmiRERi 34t3YDdLCJxglbg99QYrRL2pxOWfnhMYRWYh2TALyYZZSDbMQjJqASPLKkbR1ILkguKk9FxD veLE3OLSvHS95PzcTYzgxPFMagfjygaLQ4wCHIxKPLwdswyChFgTy4orcw8xSnAwK4nwxpsb BgnxpiRWVqUW5ccXleakFh9iTAb6fyKzlGhyPjCp5ZXEGxqbmBlZGplZGJmYm5MmrCTOe6DV OlBIID2xJDU7NbUgtQhmCxMHp1QD4ynvqy6l+Q/MWkNOesZzGq7ebnag4PNuSdblGUVrPcu9 OOtv6/2d8ElZbVv0FTv76cXVz1ZMndBxUFsuPbOPve41t8GMs4qx9otWPrik+eyDloDH/9dx 6zUfu0iFvZRcxq/Usd8kNGcXa7lEyZKLxXMP1qhbl7yQ8koU5FwWvU05xKzN/tF5JZbijERD Leai4kQAC8PD22ADAAA= DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: 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 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 --- drivers/video/i810/i810_main.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/i810/i810_main.c b/drivers/video/i810/i810_main.c index 4ce3438..038192a 100644 --- a/drivers/video/i810/i810_main.c +++ b/drivers/video/i810/i810_main.c @@ -2129,7 +2129,6 @@ static void __exit i810fb_remove_pci(struct pci_dev *dev) unregister_framebuffer(info); i810fb_release_resource(info, par); - pci_set_drvdata(dev, NULL); printk("cleanup_module: unloaded i810 framebuffer device\n"); }