Message ID | 000901ce4e46$86fe40d0$94fac270$@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-fbdev-owner@vger.kernel.org> X-Original-To: patchwork-linux-fbdev@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 67E4C3FCA5 for <patchwork-linux-fbdev@patchwork.kernel.org>; Sat, 11 May 2013 12:53:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751990Ab3EKMx2 (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Sat, 11 May 2013 08:53:28 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:30151 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954Ab3EKMx1 (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Sat, 11 May 2013 08:53:27 -0400 Received: from epcpsbgr2.samsung.com (u142.gpu120.samsung.co.kr [203.254.230.142]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MMM007INX52F550@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Sat, 11 May 2013 21:53:26 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.49]) by epcpsbgr2.samsung.com (EPCPMTA) with SMTP id 2D.9B.19730.64F3E815; Sat, 11 May 2013 21:53:26 +0900 (KST) X-AuditID: cbfee68e-b7efa6d000004d12-3e-518e3f46b2c0 Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 2B.DB.01422.64F3E815; Sat, 11 May 2013 21:53:26 +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 <0MMM00J0FX511A60@mmp2.samsung.com>; Sat, 11 May 2013 21:53:26 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: linux-fbdev@vger.kernel.org Cc: 'Florian Tobias Schandinat' <FlorianSchandinat@gmx.de>, 'Tomi Valkeinen' <tomi.valkeinen@ti.com>, Jingoo Han <jg1.han@samsung.com>, Tony Prisk <linux@prisktech.co.nz> Subject: [PATCH 09/15] video: vt8500: remove unnecessary platform_set_drvdata() Date: Sat, 11 May 2013 21:53:25 +0900 Message-id: <000901ce4e46$86fe40d0$94fac270$@samsung.com> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-index: Ac5ORntVTzJRPrQKTFuhnAglS2x1OA== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFtrPIsWRmVeSWpSXmKPExsVy+t8zQ103+75Ag9YvPBadM68xWlxeeInV 4kTfB1aLlssrmC3Wz7/F5sDq8eFjnMf5/y3sHn1bVjF6HL+xncnj8ya5ANYoLpuU1JzMstQi fbsEroxZ3z8zFexkq5j2dB5rA+NW1i5GTg4JAROJHwd3MkHYYhIX7q1n62Lk4hASWMYosW/n SbiiyRfesIHYQgLTGSUunrCGsH8xSly4YAViswmoSXz5cpgdxBYRkJfY09/OBDKIWWAdo8SE nhVgg4QF/CUmtD8C28YioCoxa8URZhCbV8BSomX9CjYIW1Dix+R7LCA2s4CWxPqdx5kgbHmJ zWveMkMcpCCx4+xrRohlehKNK3vZIGpEJPa9eMcIslhCYB+7xIJr06CWCUh8m3wIaCgHUEJW YtMBqDmSEgdX3GCZwCg2C8nqWUhWz0KyehaSFQsYWVYxiqYWJBcUJ6UXGekVJ+YWl+al6yXn 525ihERe3w7GmwesDzEmA62fyCwlmpwPjNy8knhDYzMjC1MTU2Mjc0sz0oSVxHnVWqwDhQTS E0tSs1NTC1KL4otKc1KLDzEycXBKNTBKiP4uU/Sbc2/uvNm7HFYfcVjowVQ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QAELjsRi8DAAA= 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 |
diff --git a/drivers/video/vt8500lcdfb.c b/drivers/video/vt8500lcdfb.c index 9547e18..897484903 100644 --- a/drivers/video/vt8500lcdfb.c +++ b/drivers/video/vt8500lcdfb.c @@ -448,7 +448,6 @@ failed_free_io: failed_free_res: release_mem_region(res->start, resource_size(res)); failed_fbi: - platform_set_drvdata(pdev, NULL); kfree(fbi); failed: return ret;
The driver core clears the driver data to NULL after device_release or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d (device-core: Ensure drvdata = NULL when no driver is bound). 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/vt8500lcdfb.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)