public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Viresh Kumar <viresh.kumar@st.com>
Cc: <linux-mmc@vger.kernel.org>, <linux-kernel@vger.kernel.org>,
	<armando.visconti@st.com>, <shiraz.hashim@st.com>,
	<vipin.kumar@st.com>, <rajeev-dlh.kumar@st.com>,
	<deepak.sikri@st.com>, <vipulkumar.samar@st.com>,
	<amit.virdi@st.com>, <pratyush.anand@st.com>,
	<bhupesh.sharma@st.com>, <viresh.linux@gmail.com>,
	<bhavna.yadav@st.com>, <vincenzo.frascino@st.com>,
	<mirko.gardi@st.com>
Subject: Re: [PATCH] mmc/spear: add pm callbacks to support hibernation
Date: Thu, 08 Mar 2012 23:31:28 -0500	[thread overview]
Message-ID: <m2boo6qtsv.fsf@bob.laptop.org> (raw)
In-Reply-To: <452d8982fec5f41a3761a9e7b9bbe35e2f92c2a3.1330063674.git.viresh.kumar@st.com> (Viresh Kumar's message of "Fri, 24 Feb 2012 11:55:35 +0530")

Hi Viresh,

On Fri, Feb 24 2012, Viresh Kumar wrote:
> From: Shiraz Hashim <shiraz.hashim@st.com>
>
> Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com>
> ---
>  drivers/mmc/host/sdhci-spear.c |    9 ++-------
>  1 files changed, 2 insertions(+), 7 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-spear.c b/drivers/mmc/host/sdhci-spear.c
> index b7f8b33..6dfa82e 100644
> --- a/drivers/mmc/host/sdhci-spear.c
> +++ b/drivers/mmc/host/sdhci-spear.c
> @@ -300,20 +300,15 @@ static int sdhci_resume(struct device *dev)
>  
>  	return sdhci_resume_host(host);
>  }
> -
> -const struct dev_pm_ops sdhci_pm_ops = {
> -	.suspend	= sdhci_suspend,
> -	.resume		= sdhci_resume,
> -};
>  #endif
>  
> +static SIMPLE_DEV_PM_OPS(sdhci_pm_ops, sdhci_suspend, sdhci_resume);
> +
>  static struct platform_driver sdhci_driver = {
>  	.driver = {
>  		.name	= "sdhci",
>  		.owner	= THIS_MODULE,
> -#ifdef CONFIG_PM
>  		.pm	= &sdhci_pm_ops,
> -#endif
>  	},
>  	.probe		= sdhci_probe,
>  	.remove		= __devexit_p(sdhci_remove),

Thanks, pushed to mmc-next for 3.4.

- Chris.
-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

      reply	other threads:[~2012-03-09  4:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-24  6:25 [PATCH] mmc/spear: add pm callbacks to support hibernation Viresh Kumar
2012-03-09  4:31 ` Chris Ball [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2boo6qtsv.fsf@bob.laptop.org \
    --to=cjb@laptop.org \
    --cc=amit.virdi@st.com \
    --cc=armando.visconti@st.com \
    --cc=bhavna.yadav@st.com \
    --cc=bhupesh.sharma@st.com \
    --cc=deepak.sikri@st.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=mirko.gardi@st.com \
    --cc=pratyush.anand@st.com \
    --cc=rajeev-dlh.kumar@st.com \
    --cc=shiraz.hashim@st.com \
    --cc=vincenzo.frascino@st.com \
    --cc=vipin.kumar@st.com \
    --cc=vipulkumar.samar@st.com \
    --cc=viresh.kumar@st.com \
    --cc=viresh.linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox