From patchwork Thu Sep 12 06:51:57 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jingoo Han X-Patchwork-Id: 2876291 Return-Path: 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 37BD39F476 for ; Thu, 12 Sep 2013 06:52:10 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 709322021E for ; Thu, 12 Sep 2013 06:52:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5DCF2202C8 for ; Thu, 12 Sep 2013 06:52:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756005Ab3ILGv7 (ORCPT ); Thu, 12 Sep 2013 02:51:59 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:63003 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755618Ab3ILGv6 (ORCPT ); Thu, 12 Sep 2013 02:51:58 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MT000F0O31AI3J0@mailout3.samsung.com> for linux-fbdev@vger.kernel.org; Thu, 12 Sep 2013 15:51:57 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.47]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id AC.F1.31253.C8461325; Thu, 12 Sep 2013 15:51:57 +0900 (KST) X-AuditID: cbfee690-b7f3b6d000007a15-cf-5231648cc4f7 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id A0.8E.05832.C8461325; Thu, 12 Sep 2013 15:51:56 +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 <0MT000I3132KYK80@mmp2.samsung.com>; Thu, 12 Sep 2013 15:51:56 +0900 (KST) From: Jingoo Han To: 'Jean-Christophe PLAGNIOL-VILLARD' Cc: 'Tomi Valkeinen' , linux-fbdev@vger.kernel.org, 'Jingoo Han' References: <001a01ceaf84$32c52d90$984f88b0$%han@samsung.com> In-reply-to: <001a01ceaf84$32c52d90$984f88b0$%han@samsung.com> Subject: [PATCH 03/21] video: cirrusfb: remove unnecessary pci_set_drvdata() Date: Thu, 12 Sep 2013 15:51:57 +0900 Message-id: <001d01ceaf84$92cfd140$b86f73c0$%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: Ac6vhDKuTCwbnQ4aTDC9KoLwWMziagAAE5qA Content-language: ko x-cr-hashedpuzzle: DqHY EWP6 FUZ4 GvQT QziM Tf8K X0Uz YxiJ ZHsd bp0e btV1 iRjy l3/e oT8g pNb8 sFYV; 4; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA7AGwAaQBuAHUAeAAtAGYAYgBkAGUAdgBAAHYAZwBlAHIALgBrAGUAcgBuAGUAbAAuAG8AcgBnADsAcABsAGEAZwBuAGkAbwBqAEAAagBjAHIAbwBzAG8AZgB0AC4AYwBvAG0AOwB0AG8AbQBpAC4AdgBhAGwAawBlAGkAbgBlAG4AQAB0AGkALgBjAG8AbQA=; Sosha1_v1; 7; {DD111C25-2551-4394-B804-50E395699429}; agBnADEALgBoAGEAbgBAAHMAYQBtAHMAdQBuAGcALgBjAG8AbQA=; Thu, 12 Sep 2013 06:51:50 GMT; WwBQAEEAVABDAEgAIAAwADMALwA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AAAAAAAA+NgFjrMKsWRmVeSWpSXmKPExsVy+t9jQd2eFMMgg23TrS0uL7zEanGi7wOr xbqHL5gs1s+/xebA4vHqwh0Wj74tqxg9jt/YzuTxeZNcAEtUA6NNRmpiSmqRQmpecn5KZl66 rZJ3cLxzvKmZgaGuoaWFuZJCXmJuqq2Si0+ArltmDtBOJYWyxJxSoFBAYnGxkr4dpgmhIW66 FjCNEbq+IUFwPUYGaCBhHWPG1jkLWQs2slY8u3+atYFxG0sXIweHhICJxNvmmi5GTiBTTOLC vfVsXYxcHEIC0xklpk7dywrh/GKUmDSlnxGkik1ATeLLl8PsILaIgJ3EwouXWEFsZoF8iS1L 2sBsIQFbiaVvbrOA2JxANV+OLWQDsYUFfCTennoPZrMIqEr8n/karIYXqP7EpTnMELagxI/J 91ggZmpJrN95nAnClpfYvOYtM8TR6hKP/upCnGAksez8EXaIEhGJfS/eMYLcLCEwh1Xi4pqP bBCfmUrMm7ecbQKjyCwkK2YhWTELyYpZSGYtYGRZxSiaWpBcUJyUnmukV5yYW1yal66XnJ+7 iRGcJJ5J72Bc1WBxiFGAg1GJh7djlkGQEGtiWXFl7iFGCQ5mJRHeeHPDICHelMTKqtSi/Pii 0pzU4kOMycAQmMgsJZqcD0xgeSXxhsYmZkaWRmYWRibm5qQJK4nzHmy1DhQSSE8sSc1OTS1I LYLZwsTBKdXA2M+wyW2P3Ur7fuv878uKah6cEbLwnvzIYopNWOikuy7ueleF91pcfy/B8cRi dRJzblGd38S2v9rvip9f/Dy/cquwTu7iOam2kQ8vJ/3YytL33+fI2Z8zPn1knu4kFTarh2Xf qt7b9kJBz49f2Kfw5+V8pd8PepKqWwVmiqcc2n/Y0Pl73Ik7tkosxRmJhlrMRcWJACtpkE9W AwAA 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/cirrusfb.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/video/cirrusfb.c b/drivers/video/cirrusfb.c index 97db3ba..b016746 100644 --- a/drivers/video/cirrusfb.c +++ b/drivers/video/cirrusfb.c @@ -2159,7 +2159,6 @@ static int cirrusfb_pci_register(struct pci_dev *pdev, if (!ret) return 0; - pci_set_drvdata(pdev, NULL); iounmap(info->screen_base); err_release_legacy: if (release_io_ports)