From patchwork Thu Sep 26 14:54:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 20623 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f199.google.com (mail-ve0-f199.google.com [209.85.128.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2FF6F24687 for ; Thu, 26 Sep 2013 14:56:39 +0000 (UTC) Received: by mail-ve0-f199.google.com with SMTP id db12sf1096058veb.10 for ; Thu, 26 Sep 2013 07:56:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-unsubscribe; bh=1mIcd8DqPyN0EgXswtO7a38Z7t1oqrfS3/6Heh125t4=; b=mCJZhIY/qWa82pSA3J+x0Xj6S2l07vDvjP3ebMPkuRAQDppjMMCgSAw9LhYUWviXjP j+Onm684jtR1+Q7SQpKOgiisAf9LeMre7Y8p+UY/C9eNqbTOUg6mTiWKZ5BpcW6znn4i +zM3t1GIuP5vqYWqZyePoYVINT73mkNhubRfUjfUarJwPNHAEGWEEeCjrm0PbeLf730+ teRFwLZVOxuyoFGgqZBkaM03C634FPV0Jo8RLsf3vy06m4YXv1209Jxs+mdetm2/UzGq g3KzfIFMjYn72NxrHFugcZTxp/yRo4rBZtoXQ2eglIZ4rSZ0njC5Iusvr7CEO0RHY3ek QyqQ== X-Gm-Message-State: ALoCoQnfn6RqIr/kwg1xqtKfI5Q/bw7S+XzByW7pFcEanHWB/Xaztg+CBk1x47joBHjU6MaSIt8v X-Received: by 10.236.227.165 with SMTP id d35mr247523yhq.51.1380207399008; Thu, 26 Sep 2013 07:56:39 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.51.40 with SMTP id h8ls985617qeo.28.gmail; Thu, 26 Sep 2013 07:56:38 -0700 (PDT) X-Received: by 10.59.6.136 with SMTP id cu8mr47804ved.46.1380207398875; Thu, 26 Sep 2013 07:56:38 -0700 (PDT) Received: from mail-ve0-f176.google.com (mail-ve0-f176.google.com [209.85.128.176]) by mx.google.com with ESMTPS id o6si508428vcz.4.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:56:38 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.176; Received: by mail-ve0-f176.google.com with SMTP id jx11so983514veb.7 for ; Thu, 26 Sep 2013 07:56:08 -0700 (PDT) X-Received: by 10.52.76.36 with SMTP id h4mr390124vdw.46.1380207368566; Thu, 26 Sep 2013 07:56:08 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp371144vcz; Thu, 26 Sep 2013 07:56:08 -0700 (PDT) X-Received: by 10.14.246.11 with SMTP id p11mr1914109eer.9.1380207367680; Thu, 26 Sep 2013 07:56:07 -0700 (PDT) Received: from mail-ea0-f170.google.com (mail-ea0-f170.google.com [209.85.215.170]) by mx.google.com with ESMTPS id x42si1871485eel.116.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:56:07 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.215.170 is neither permitted nor denied by best guess record for domain of ulf.hansson@linaro.org) client-ip=209.85.215.170; Received: by mail-ea0-f170.google.com with SMTP id h14so609346eak.15 for ; Thu, 26 Sep 2013 07:56:07 -0700 (PDT) X-Received: by 10.14.211.4 with SMTP id v4mr1847399eeo.81.1380207367143; Thu, 26 Sep 2013 07:56:07 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id x47sm4813555eea.16.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 26 Sep 2013 07:56:06 -0700 (PDT) From: Ulf Hansson To: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Chris Ball Cc: Ulf Hansson , Sascha Sommer Subject: [PATCH 22/27] mmc: sdricoh_cs: Move away from using deprecated APIs Date: Thu, 26 Sep 2013 16:54:47 +0200 Message-Id: <1380207292-16968-23-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1380207292-16968-1-git-send-email-ulf.hansson@linaro.org> References: <1380207292-16968-1-git-send-email-ulf.hansson@linaro.org> X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: ulf.hansson@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.176 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Suspend and resume of cards are being handled from the protocol layer and consequently the mmc_suspend|resume_host APIs are deprecated. This means we can simplify the suspend|resume callbacks by removing the use of the deprecated APIs. Cc: Sascha Sommer Signed-off-by: Ulf Hansson --- drivers/mmc/host/sdricoh_cs.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/mmc/host/sdricoh_cs.c b/drivers/mmc/host/sdricoh_cs.c index 50adbd1..b7e3057 100644 --- a/drivers/mmc/host/sdricoh_cs.c +++ b/drivers/mmc/host/sdricoh_cs.c @@ -516,9 +516,7 @@ static void sdricoh_pcmcia_detach(struct pcmcia_device *link) #ifdef CONFIG_PM static int sdricoh_pcmcia_suspend(struct pcmcia_device *link) { - struct mmc_host *mmc = link->priv; dev_dbg(&link->dev, "suspend\n"); - mmc_suspend_host(mmc); return 0; } @@ -527,7 +525,6 @@ static int sdricoh_pcmcia_resume(struct pcmcia_device *link) struct mmc_host *mmc = link->priv; dev_dbg(&link->dev, "resume\n"); sdricoh_reset(mmc_priv(mmc)); - mmc_resume_host(mmc); return 0; } #else