Message ID | 000a01ce4e46$b8e362b0$2aaa2810$@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 1C8573FCA5 for <patchwork-linux-fbdev@patchwork.kernel.org>; Sat, 11 May 2013 12:54:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751990Ab3EKMyv (ORCPT <rfc822;patchwork-linux-fbdev@patchwork.kernel.org>); Sat, 11 May 2013 08:54:51 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:30199 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751954Ab3EKMyv (ORCPT <rfc822;linux-fbdev@vger.kernel.org>); Sat, 11 May 2013 08:54:51 -0400 Received: from epcpsbgr4.samsung.com (u144.gpu120.samsung.co.kr [203.254.230.144]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MMM0003IX7A4G70@mailout2.samsung.com> for linux-fbdev@vger.kernel.org; Sat, 11 May 2013 21:54:49 +0900 (KST) Received: from epcpsbgm2.samsung.com ( [203.254.230.48]) by epcpsbgr4.samsung.com (EPCPMTA) with SMTP id DA.44.04074.99F3E815; Sat, 11 May 2013 21:54:49 +0900 (KST) X-AuditID: cbfee690-b7f136d000000fea-af-518e3f99a95d Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm2.samsung.com (EPCPMTA) with SMTP id 6E.EB.01422.99F3E815; Sat, 11 May 2013 21:54:49 +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 <0MMM00FGFX7DJV60@mmp1.samsung.com>; Sat, 11 May 2013 21:54:49 +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>, 'Manuel Lauss' <manuel.lauss@googlemail.com> Subject: [PATCH 10/15] video: au1100fb: remove unnecessary platform_set_drvdata() Date: Sat, 11 May 2013 21:54:49 +0900 Message-id: <000a01ce4e46$b8e362b0$2aaa2810$@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: Ac5ORo6nLwzXF68QSyKitRVpSJRkdQ== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrIIsWRmVeSWpSXmKPExsVy+t8zA92Z9n2BBstfmVt0zrzGaHF54SVW ixN9H1gtrj75yWyxfv4tNgdWjw8f4zyeTpjM7tG3ZRWjx/Eb25k8Pm+SC2CN4rJJSc3JLEst 0rdL4MrYcaCRuaCLrWJHxxz2BsZG1i5GTg4JAROJpWsvMUHYYhIX7q1n62Lk4hASWMYoMX// ekaYorYF9xkhEosYJd4t/sQM4fxilPi57B4zSBWbgJrEly+H2UFsEQF5iT397UwgRcwCOxgl znbdBysSFgiWeD3lERuIzSKgKvHh7wMWEJtXwFKic8pKZghbUOLH5HtgcWYBLYn1O48zQdjy EpvXvGWGOElBYsfZ14wQy/Qk7szazAZRIyKx78U7sFMlBA6xS7QfvsAOsUxA4tvkQ0BDOYAS shKbDkDNkZQ4uOIGywRGsVlIVs9CsnoWktWzkKxYwMiyilE0tSC5oDgpvchErzgxt7g0L10v OT93EyMk+ibsYLx3wPoQYzLQ+onMUqLJ+cDozSuJNzQ2M7IwNTE1NjK3NCNNWEmcV73FOlBI ID2xJDU7NbUgtSi+qDQntfgQIxMHp1QD48qOG18m6+8o+n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/VFKLMUZiYZazEXFiQCcSElGMQMAAA== 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/au1100fb.c b/drivers/video/au1100fb.c index 700cac0..606a3ba 100644 --- a/drivers/video/au1100fb.c +++ b/drivers/video/au1100fb.c @@ -579,7 +579,6 @@ failed: if (fbdev->info.cmap.len != 0) { fb_dealloc_cmap(&fbdev->info.cmap); } - platform_set_drvdata(dev, NULL); return -ENODEV; }
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/au1100fb.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)