public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: sshtylyov@mvista•com (Sergei Shtylyov)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 10/15] watchdog/mpcore_wdt: Add support for dev_pm_ops interface
Date: Wed, 07 Mar 2012 15:38:52 +0400	[thread overview]
Message-ID: <4F5748CC.9020601@ru.mvista.com> (raw)
In-Reply-To: <b50542be97df8b90d3e7c696a8d13be707f581f9.1331115752.git.viresh.kumar@st.com>

Hello.

On 07-03-2012 14:27, Viresh Kumar wrote:

> This patch adds dev_pm_ops support for standby/slepp/hibernate.

> Signed-off-by: Viresh Kumar<viresh.kumar@st•com>
> ---
>   drivers/watchdog/mpcore_wdt.c |   18 +++++++++---------
>   1 files changed, 9 insertions(+), 9 deletions(-)

> diff --git a/drivers/watchdog/mpcore_wdt.c b/drivers/watchdog/mpcore_wdt.c
> index e02c02b..a099418 100644
> --- a/drivers/watchdog/mpcore_wdt.c
> +++ b/drivers/watchdog/mpcore_wdt.c
[...]
> @@ -384,40 +385,39 @@ static int __devexit mpcore_wdt_remove(struct platform_device *pdev)
[...]
>   /* work with hotplug and coldplug */
>   MODULE_ALIAS("platform:mpcore_wdt");
>
>   static struct platform_driver mpcore_wdt_driver = {
>   	.probe		= mpcore_wdt_probe,
>   	.remove		= __devexit_p(mpcore_wdt_remove),
> -	.suspend	= mpcore_wdt_suspend,
> -	.resume		= mpcore_wdt_resume,
>   	.shutdown	= mpcore_wdt_shutdown,
>   	.driver		= {
>   		.owner	= THIS_MODULE,
>   		.name	= "mpcore_wdt",
> +		.pm = &mpcore_wdt_dev_pm_ops,

    Please align the right part of initializer like all above.

WBR, Sergei

  reply	other threads:[~2012-03-07 11:38 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-07 10:27 [PATCH 00/15] watchdog/mpcore: updates & fixes Viresh Kumar
2012-03-07 10:27 ` [PATCH 01/15] watchdog/mpcore_wdt: Fix multiline comments Viresh Kumar
2012-03-07 10:27 ` [PATCH 02/15] watchdog/mpcore_wdt: Add blank line after variable definitions in routines Viresh Kumar
2012-03-07 10:27 ` [PATCH 03/15] watchdog/mpcore_wdt: Arrange #includes in alphabetical order Viresh Kumar
2012-03-07 10:27 ` [PATCH 04/15] watchdog/mpcore_wdt: remove multiple 'ret = 0' statements from ioctl ops Viresh Kumar
2012-03-07 10:27 ` [PATCH 05/15] watchdog/mpcore_wdt: Rename dev to pdev for pointing to struct platform_device Viresh Kumar
2012-03-07 10:27 ` [PATCH 06/15] watchdog/mpcore_wdt: do request_irq before registering misc device Viresh Kumar
2012-03-07 10:27 ` [PATCH 07/15] watchdog/mpcore_wdt: Use devm routines Viresh Kumar
2012-03-07 10:27 ` [PATCH 08/15] watchdog/mpcore_wdt: handle module param mpcore_margin in probe Viresh Kumar
2012-03-07 10:27 ` [PATCH 09/15] watchdog/mpcore_wdt: convert to use module_platform_driver() Viresh Kumar
2012-03-07 10:27 ` [PATCH 10/15] watchdog/mpcore_wdt: Add support for dev_pm_ops interface Viresh Kumar
2012-03-07 11:38   ` Sergei Shtylyov [this message]
2012-03-07 12:11     ` viresh kumar
2012-03-07 10:27 ` [PATCH 11/15] watchdog/mpcore_wdt: disable wdt in suspend only if it is busy Viresh Kumar
2012-03-07 10:27 ` [PATCH 12/15] watchdog/mpcore_wdt: Add support for WDIOF_CARDRESET Viresh Kumar
2012-03-07 11:40   ` Sergei Shtylyov
2012-03-07 12:10     ` viresh kumar
2012-03-07 10:27 ` [PATCH 13/15] watchdog/mpcore_wdt: Allow platform_get_irq() to fail Viresh Kumar
2012-03-07 10:27 ` [PATCH 14/15] watchdog/mpcore_wdt: Add clock framework support Viresh Kumar
2012-03-07 11:17   ` Srinidhi Kasagar
2012-03-07 12:13     ` viresh kumar
2012-03-07 11:18   ` Russell King - ARM Linux
2012-03-07 12:20     ` viresh kumar
2012-03-07 12:27       ` Russell King - ARM Linux
2012-03-07 12:37         ` viresh kumar
2012-03-07 12:47           ` Russell King - ARM Linux
2012-03-07 10:27 ` [PATCH 15/15] watchdog/mpcore_wdt: use correct clk_rate to program timeout Viresh Kumar
2012-03-07 10:34 ` [PATCH 00/15] watchdog/mpcore: updates & fixes Wolfram Sang
2012-03-07 12:26   ` viresh kumar
2012-03-07 12:48     ` Wolfram Sang

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=4F5748CC.9020601@ru.mvista.com \
    --to=sshtylyov@mvista$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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