All of lore.kernel.org
 help / color / mirror / Atom feed
From: Barry Song <baohua-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
To: Jingoo Han <jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
Cc: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Qipan Li <Qipan.Li-kQvG35nSl+M@public.gmane.org>,
	Zhiwu Song <Zhiwu.Song-kQvG35nSl+M@public.gmane.org>
Subject: Re: [PATCH 3/3] spi: sirf: Use SIMPLE_DEV_PM_OPS macro
Date: Wed, 26 Feb 2014 16:32:14 +0800	[thread overview]
Message-ID: <CAGsJ_4whXsMUR_pLjbvraA=pM6fn9b8i_rjSVc6HyM1LQODr1Q@mail.gmail.com> (raw)
In-Reply-To: <003a01cf3292$a85069d0$f8f13d70$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>

2014-02-26 9:32 GMT+08:00 Jingoo Han <jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>:
> Use SIMPLE_DEV_PM_OPS macro in order to make the code simpler.
>
> Signed-off-by: Jingoo Han <jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>

thanks, but this has been done and merged.

> ---
>  drivers/spi/spi-sirf.c |    5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/spi/spi-sirf.c b/drivers/spi/spi-sirf.c
> index 5210b94..dc962a1 100644
> --- a/drivers/spi/spi-sirf.c
> +++ b/drivers/spi/spi-sirf.c
> @@ -718,9 +718,8 @@ static int spi_sirfsoc_resume(struct device *dev)
>  }
>  #endif
>
> -static const struct dev_pm_ops spi_sirfsoc_pm_ops = {
> -       SET_SYSTEM_SLEEP_PM_OPS(spi_sirfsoc_suspend, spi_sirfsoc_resume)
> -};
> +static SIMPLE_DEV_PM_OPS(spi_sirfsoc_pm_ops, spi_sirfsoc_suspend,
> +                        spi_sirfsoc_resume);
>
>  static const struct of_device_id spi_sirfsoc_of_match[] = {
>         { .compatible = "sirf,prima2-spi", },
> --
> 1.7.10.4
>
>
-barry
--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2014-02-26  8:32 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-26  1:28 [PATCH 1/3] spi: bcm63xx-hsspi: Use SIMPLE_DEV_PM_OPS macro Jingoo Han
     [not found] ` <003801cf3292$0b03b4c0$210b1e40$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-02-26  1:30   ` [PATCH 2/3] spi: fsl-dspi: " Jingoo Han
     [not found]     ` <003901cf3292$4cb09a50$e611cef0$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-03-05  6:05       ` Mark Brown
2014-02-26  1:32   ` [PATCH 3/3] spi: sirf: " Jingoo Han
     [not found]     ` <003a01cf3292$a85069d0$f8f13d70$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-02-26  8:32       ` Barry Song [this message]
     [not found]         ` <CAGsJ_4whXsMUR_pLjbvraA=pM6fn9b8i_rjSVc6HyM1LQODr1Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2014-02-26  8:55           ` Jingoo Han
     [not found]             ` <000601cf32d0$746bec50$5d43c4f0$%han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org>
2014-02-26  9:05               ` Barry Song
2014-02-27  4:41       ` Mark Brown
2014-03-05  4:53   ` [PATCH 1/3] spi: bcm63xx-hsspi: " Mark Brown

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='CAGsJ_4whXsMUR_pLjbvraA=pM6fn9b8i_rjSVc6HyM1LQODr1Q@mail.gmail.com' \
    --to=baohua-dgejt+ai2ygdnm+yrofe0a@public.gmane.org \
    --cc=Qipan.Li-kQvG35nSl+M@public.gmane.org \
    --cc=Zhiwu.Song-kQvG35nSl+M@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=jg1.han-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org \
    --cc=linux-spi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.