Thread (30 messages) 30 messages, 6 authors, 2012-03-07
STALE5242d

[PATCH 10/15] watchdog/mpcore_wdt: Add support for dev_pm_ops interface

From: Sergei Shtylyov <hidden>
Date: 2012-03-07 11:38:52
Also in: linux-watchdog

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<redacted>
---
  drivers/watchdog/mpcore_wdt.c |   18 +++++++++---------
  1 files changed, 9 insertions(+), 9 deletions(-)
quoted hunk ↗ jump to hunk
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
[...]
quoted hunk ↗ jump to hunk
@@ -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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help