summaryrefslogtreecommitdiff
path: root/drivers/pcmcia/vrc4171_card.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-09-29 02:10:41 +0400
committerRafael J. Wysocki <rjw@sisk.pl>2009-09-29 02:10:41 +0400
commit827b4649d4626bf97b203b4bcd69476bb9b4e760 (patch)
treef94042698d02499e95cfe59003fdafed725b3ed5 /drivers/pcmcia/vrc4171_card.c
parent17d857be649a21ca90008c6dc425d849fa83db5c (diff)
downloadlinux-827b4649d4626bf97b203b4bcd69476bb9b4e760.tar.xz
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/vrc4171_card.c')
-rw-r--r--drivers/pcmcia/vrc4171_card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/vrc4171_card.c b/drivers/pcmcia/vrc4171_card.c
index d4ad50d737b0..c9fcbdc164ea 100644
--- a/drivers/pcmcia/vrc4171_card.c
+++ b/drivers/pcmcia/vrc4171_card.c
@@ -707,7 +707,7 @@ __setup("vrc4171_card=", vrc4171_card_setup);
static int vrc4171_card_suspend(struct platform_device *dev,
pm_message_t state)
{
- return pcmcia_socket_dev_suspend(&dev->dev, state);
+ return pcmcia_socket_dev_suspend(&dev->dev);
}
static int vrc4171_card_resume(struct platform_device *dev)