aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/yenta_socket.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-09-28 18:10:41 -0400
committerRafael J. Wysocki <rjw@sisk.pl>2009-09-28 18:10:41 -0400
commit827b4649d4626bf97b203b4bcd69476bb9b4e760 (patch)
treef94042698d02499e95cfe59003fdafed725b3ed5 /drivers/pcmcia/yenta_socket.c
parent17d857be649a21ca90008c6dc425d849fa83db5c (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/yenta_socket.c')
-rw-r--r--drivers/pcmcia/yenta_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/yenta_socket.c b/drivers/pcmcia/yenta_socket.c
index b459e87a30ac..6fa1ed8f2b2f 100644
--- a/drivers/pcmcia/yenta_socket.c
+++ b/drivers/pcmcia/yenta_socket.c
@@ -1230,7 +1230,7 @@ static int yenta_dev_suspend (struct pci_dev *dev, pm_message_t state)
1230 struct yenta_socket *socket = pci_get_drvdata(dev); 1230 struct yenta_socket *socket = pci_get_drvdata(dev);
1231 int ret; 1231 int ret;
1232 1232
1233 ret = pcmcia_socket_dev_suspend(&dev->dev, state); 1233 ret = pcmcia_socket_dev_suspend(&dev->dev);
1234 1234
1235 if (socket) { 1235 if (socket) {
1236 if (socket->type && socket->type->save_state) 1236 if (socket->type && socket->type->save_state)