Message ID | 005301ce4a21$a6d339c0$f479ad40$@samsung.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-mmc-owner@vger.kernel.org> X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 39045DF230 for <patchwork-linux-mmc@patchwork.kernel.org>; Mon, 6 May 2013 06:19:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752489Ab3EFGTZ (ORCPT <rfc822;patchwork-linux-mmc@patchwork.kernel.org>); Mon, 6 May 2013 02:19:25 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:54880 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750840Ab3EFGTY (ORCPT <rfc822;linux-mmc@vger.kernel.org>); Mon, 6 May 2013 02:19:24 -0400 Received: from epcpsbgr1.samsung.com (u141.gpu120.samsung.co.kr [203.254.230.141]) by mailout3.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0MMD00CGU5K6VQN0@mailout3.samsung.com> for linux-mmc@vger.kernel.org; Mon, 06 May 2013 15:19:23 +0900 (KST) Received: from epcpsbgm1.samsung.com ( [203.254.230.51]) by epcpsbgr1.samsung.com (EPCPMTA) with SMTP id 23.17.31024.B6B47815; Mon, 06 May 2013 15:19:23 +0900 (KST) X-AuditID: cbfee68d-b7f016d000007930-23-51874b6b284e Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 23.1D.08957.B6B47815; Mon, 06 May 2013 15:19:23 +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 <0MMD00FQI5KBMF60@mmp1.samsung.com>; Mon, 06 May 2013 15:19:23 +0900 (KST) From: Jingoo Han <jg1.han@samsung.com> To: 'Chris Ball' <cjb@laptop.org> Cc: linux-mmc@vger.kernel.org, Jingoo Han <jg1.han@samsung.com>, 'Nicolas Pitre' <nico@fluxnic.net>, 'Thomas Petazzoni' <thomas.petazzoni@free-electrons.com> Subject: [PATCH 08/22] mmc: mvsdio: remove unnecessary platform_set_drvdata() Date: Mon, 06 May 2013 15:19:23 +0900 Message-id: <005301ce4a21$a6d339c0$f479ad40$@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: Ac5KIY6aqQY1JcryTtCC+B8Mc+ZpLg== Content-language: ko X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrEIsWRmVeSWpSXmKPExsVy+t8zY91s7/ZAg7ZeVYvtrzeyWVxeeInV 4sj/fkaLeS9esFk8fdDE5MDq8exEO5vHk00XGT0OXVnL6NG3ZRWjx+dNcgGsUVw2Kak5mWWp Rfp2CVwZ509vYi5Yy1Zx+eFbxgbGJaxdjJwcEgImEt0P7rBD2GISF+6tZ+ti5OIQEljGKPH0 1nk2mKIjs3+xQyQWMUrs3nGZFcL5xSjx+NRHZpAqNgE1iS9fDoONEhFQlNjy/ThYB7PAQkaJ /tkrGUESwgK+Eq3975lAbBYBVYmeQw/BbF4BS4n5n5+yQtiCEj8m32MBsZkFtCTW7zzOBGHL S2xe85YZ4iQFiR1nXzNCLNOT2NB/CapeRGLfi3eMIIslBA6xS5x//pgRYpmAxLfJh4CKOIAS shKbDkDNkZQ4uOIGywRGsVlIVs9CsnoWktWzkKxYwMiyilE0tSC5oDgpvchQrzgxt7g0L10v OT93EyMk/np3MN4+YH2IMRlo/URmKdHkfGD85pXEGxqbGVmYmpgaG5lbmpEmrCTOq9ZiHSgk kJ5YkpqdmlqQWhRfVJqTWnyIkYmDU6qBcXncn7NBl9S333hYavd80a2z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RUIu5qDgRAGXwNfcyAwAA DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-mmc.vger.kernel.org> X-Mailing-List: linux-mmc@vger.kernel.org |
diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index 8960fc8..d08fe6a 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c @@ -827,7 +827,6 @@ static int __exit mvsd_remove(struct platform_device *pdev) clk_disable_unprepare(host->clk); mmc_free_host(mmc); - platform_set_drvdata(pdev, NULL); return 0; }
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/mmc/host/mvsdio.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)