From patchwork Mon Nov 22 08:47:51 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: axel lin X-Patchwork-Id: 347161 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oAM8grU8019660 for ; Mon, 22 Nov 2010 08:43:01 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752179Ab0KVImx (ORCPT ); Mon, 22 Nov 2010 03:42:53 -0500 Received: from mail-yx0-f174.google.com ([209.85.213.174]:51501 "EHLO mail-yx0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751554Ab0KVImw (ORCPT ); Mon, 22 Nov 2010 03:42:52 -0500 Received: by yxf34 with SMTP id 34so3886882yxf.19 for ; Mon, 22 Nov 2010 00:42:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:cc :in-reply-to:references:content-type:date:message-id:mime-version :x-mailer:content-transfer-encoding; bh=DOQoKmvrDk17Di3GNCuss4gUWdmbZoZoALaS5+DMhD8=; b=ZW/ywksgjDLfiRDYJZ/+RB4c4EpaAr2xlZaQZxrddGVhDfszgSjCP9D4a8I+Kxurdd D5T6AwZ9XU5ljoZnphsKeLGDqAmpxh/ylVJzVWNQUKXgOYv6fA3bPM3LMHZA+bnRthjg ghVjGgizXAjgwzZnSupu4Hq2edR3pSK+wXQ+c= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:x-mailer:content-transfer-encoding; b=OxlkgdshGV7FtRo3ZWe9ky8pisf+aAeHgJIGFLMzn6zOopsyHlWxHkDh+vbSbEI65V uZGHA0KEx2hS3cPU+lPPdNgIa7UWTxaDtvSxQIIkFCHYsZ4zdQyyow+LaImyOnI1gvA3 jagii6FTMwW6bz0aLNNl7AjMcuV39pQ1mHY0Y= Received: by 10.150.190.4 with SMTP id n4mr5134351ybf.146.1290415371355; Mon, 22 Nov 2010 00:42:51 -0800 (PST) Received: from [192.168.100.50] (60-251-136-127.HINET-IP.hinet.net [60.251.136.127]) by mx.google.com with ESMTPS id j64sm3118255yha.24.2010.11.22.00.42.48 (version=SSLv3 cipher=RC4-MD5); Mon, 22 Nov 2010 00:42:50 -0800 (PST) Subject: [PATCH 4/4] [ARM] mxcmmc: remove a unnecessary release_resource() call From: Axel Lin To: linux-kernel Cc: Chris Ball , Sascha Hauer , Andrew Morton , linux-mmc@vger.kernel.org In-Reply-To: <1290415596.5471.10.camel@mola> References: <1290415359.5471.4.camel@mola> <1290415467.5471.7.camel@mola> <1290415534.5471.8.camel@mola> <1290415596.5471.10.camel@mola> Date: Mon, 22 Nov 2010 16:47:51 +0800 Message-Id: <1290415671.5471.13.camel@mola> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 22 Nov 2010 08:43:01 +0000 (UTC) diff --git a/drivers/mmc/host/mxcmmc.c b/drivers/mmc/host/mxcmmc.c index 2b9f7c8..4428594 100644 --- a/drivers/mmc/host/mxcmmc.c +++ b/drivers/mmc/host/mxcmmc.c @@ -967,7 +967,6 @@ static int mxcmci_remove(struct platform_device *pdev) clk_put(host->clk); release_mem_region(host->res->start, resource_size(host->res)); - release_resource(host->res); mmc_free_host(mmc);