diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-07-14 14:53:00 +0400 |
---|---|---|
committer | Wim Van Sebroeck <wim@iguana.be> | 2011-07-27 01:21:16 +0400 |
commit | 2fc5d52b212b58a5b48af19d85cb60971aa1aa4b (patch) | |
tree | b19d4cb19adb0f384a005942050ab0ef8986a1af /drivers/watchdog/at91sam9_wdt.c | |
parent | 081d83a3393f65adc94fc4240b9926be3054f9dc (diff) | |
download | linux-2fc5d52b212b58a5b48af19d85cb60971aa1aa4b.tar.xz |
watchdog: remove empty pm-functions
While checking what watchdog drivers usually do in suspend/resume to
spot common behaviour for the watchdog framework, I found these drivers
which do nothing but add some cruft. Remove it, it is superfluous. New
approaches should probably be done with pm_ops anyway.
Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'drivers/watchdog/at91sam9_wdt.c')
-rw-r--r-- | drivers/watchdog/at91sam9_wdt.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/watchdog/at91sam9_wdt.c b/drivers/watchdog/at91sam9_wdt.c index eac26021e8da..5cfbcc55d88a 100644 --- a/drivers/watchdog/at91sam9_wdt.c +++ b/drivers/watchdog/at91sam9_wdt.c @@ -284,27 +284,8 @@ static int __exit at91wdt_remove(struct platform_device *pdev) return res; } -#ifdef CONFIG_PM - -static int at91wdt_suspend(struct platform_device *pdev, pm_message_t message) -{ - return 0; -} - -static int at91wdt_resume(struct platform_device *pdev) -{ - return 0; -} - -#else -#define at91wdt_suspend NULL -#define at91wdt_resume NULL -#endif - static struct platform_driver at91wdt_driver = { .remove = __exit_p(at91wdt_remove), - .suspend = at91wdt_suspend, - .resume = at91wdt_resume, .driver = { .name = "at91_wdt", .owner = THIS_MODULE, |