diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2009-09-28 18:10:41 -0400 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-09-28 18:10:41 -0400 |
commit | 827b4649d4626bf97b203b4bcd69476bb9b4e760 (patch) | |
tree | f94042698d02499e95cfe59003fdafed725b3ed5 /drivers/pcmcia/at91_cf.c | |
parent | 17d857be649a21ca90008c6dc425d849fa83db5c (diff) |
PM / PCMCIA: Drop second argument of pcmcia_socket_dev_suspend()
pcmcia_socket_dev_suspend() doesn't use its second argument, so it
may be dropped safely.
This change is necessary for the subsequent yenta suspend/resume fix.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: stable@kernel.org
Diffstat (limited to 'drivers/pcmcia/at91_cf.c')
-rw-r--r-- | drivers/pcmcia/at91_cf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/at91_cf.c b/drivers/pcmcia/at91_cf.c index 9e1140f085fd..e1dccedc5960 100644 --- a/drivers/pcmcia/at91_cf.c +++ b/drivers/pcmcia/at91_cf.c | |||
@@ -363,7 +363,7 @@ static int at91_cf_suspend(struct platform_device *pdev, pm_message_t mesg) | |||
363 | struct at91_cf_socket *cf = platform_get_drvdata(pdev); | 363 | struct at91_cf_socket *cf = platform_get_drvdata(pdev); |
364 | struct at91_cf_data *board = cf->board; | 364 | struct at91_cf_data *board = cf->board; |
365 | 365 | ||
366 | pcmcia_socket_dev_suspend(&pdev->dev, mesg); | 366 | pcmcia_socket_dev_suspend(&pdev->dev); |
367 | if (device_may_wakeup(&pdev->dev)) { | 367 | if (device_may_wakeup(&pdev->dev)) { |
368 | enable_irq_wake(board->det_pin); | 368 | enable_irq_wake(board->det_pin); |
369 | if (board->irq_pin) | 369 | if (board->irq_pin) |