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/pxa2xx_base.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/pxa2xx_base.c')
-rw-r--r-- | drivers/pcmcia/pxa2xx_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/pxa2xx_base.c b/drivers/pcmcia/pxa2xx_base.c index 87e22ef8eb02..0e35acb1366b 100644 --- a/drivers/pcmcia/pxa2xx_base.c +++ b/drivers/pcmcia/pxa2xx_base.c | |||
@@ -302,7 +302,7 @@ static int pxa2xx_drv_pcmcia_remove(struct platform_device *dev) | |||
302 | 302 | ||
303 | static int pxa2xx_drv_pcmcia_suspend(struct device *dev) | 303 | static int pxa2xx_drv_pcmcia_suspend(struct device *dev) |
304 | { | 304 | { |
305 | return pcmcia_socket_dev_suspend(dev, PMSG_SUSPEND); | 305 | return pcmcia_socket_dev_suspend(dev); |
306 | } | 306 | } |
307 | 307 | ||
308 | static int pxa2xx_drv_pcmcia_resume(struct device *dev) | 308 | static int pxa2xx_drv_pcmcia_resume(struct device *dev) |