aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pcmcia/omap_cf.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2009-09-29 00:10:41 +0200
committerRafael J. Wysocki <rjw@sisk.pl>2009-09-29 00:10:41 +0200
commit827b4649d4626bf97b203b4bcd69476bb9b4e760 (patch)
treef94042698d02499e95cfe59003fdafed725b3ed5 /drivers/pcmcia/omap_cf.c
parent17d857be649a21ca90008c6dc425d849fa83db5c (diff)
downloadkernel_samsung_crespo-827b4649d4626bf97b203b4bcd69476bb9b4e760.zip
kernel_samsung_crespo-827b4649d4626bf97b203b4bcd69476bb9b4e760.tar.gz
kernel_samsung_crespo-827b4649d4626bf97b203b4bcd69476bb9b4e760.tar.bz2
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/omap_cf.c')
-rw-r--r--drivers/pcmcia/omap_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/omap_cf.c b/drivers/pcmcia/omap_cf.c
index f373639..68570bc 100644
--- a/drivers/pcmcia/omap_cf.c
+++ b/drivers/pcmcia/omap_cf.c
@@ -334,7 +334,7 @@ static int __exit omap_cf_remove(struct platform_device *pdev)
static int omap_cf_suspend(struct platform_device *pdev, pm_message_t mesg)
{
- return pcmcia_socket_dev_suspend(&pdev->dev, mesg);
+ return pcmcia_socket_dev_suspend(&pdev->dev);
}
static int omap_cf_resume(struct platform_device *pdev)