Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754982Ab3I2SV1 (ORCPT ); Sun, 29 Sep 2013 14:21:27 -0400 Received: from mout2.freenet.de ([195.4.92.92]:57328 "EHLO mout2.freenet.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754874Ab3I2SVY (ORCPT ); Sun, 29 Sep 2013 14:21:24 -0400 X-Greylist: delayed 1304 seconds by postgrey-1.27 at vger.kernel.org; Sun, 29 Sep 2013 14:21:23 EDT Date: Sun, 29 Sep 2013 19:56:42 +0200 From: Sascha Sommer To: Ulf Hansson Cc: linux-kernel@vger.kernel.org, linux-mmc@vger.kernel.org, Chris Ball Subject: Re: [PATCH 22/27] mmc: sdricoh_cs: Move away from using deprecated APIs Message-ID: <20130929195642.7cefc9ef@madeira.sommer.dynalias.net> In-Reply-To: <1380207292-16968-23-git-send-email-ulf.hansson@linaro.org> References: <1380207292-16968-1-git-send-email-ulf.hansson@linaro.org> <1380207292-16968-23-git-send-email-ulf.hansson@linaro.org> X-Mailer: Claws Mail 3.7.10 (GTK+ 2.24.7; x86_64-suse-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1569 Lines: 51 Hi, Am Thu, 26 Sep 2013 16:54:47 +0200 schrieb Ulf Hansson : > 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 Acked-by: Sascha Sommer Regards Sascha -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/