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/m32r_pcc.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/m32r_pcc.c')
-rw-r--r-- | drivers/pcmcia/m32r_pcc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pcmcia/m32r_pcc.c b/drivers/pcmcia/m32r_pcc.c index 12034b41d19..a0655839c8d 100644 --- a/drivers/pcmcia/m32r_pcc.c +++ b/drivers/pcmcia/m32r_pcc.c | |||
@@ -675,7 +675,7 @@ static struct pccard_operations pcc_operations = { | |||
675 | static int pcc_drv_pcmcia_suspend(struct platform_device *dev, | 675 | static int pcc_drv_pcmcia_suspend(struct platform_device *dev, |
676 | pm_message_t state) | 676 | pm_message_t state) |
677 | { | 677 | { |
678 | return pcmcia_socket_dev_suspend(&dev->dev, state); | 678 | return pcmcia_socket_dev_suspend(&dev->dev); |
679 | } | 679 | } |
680 | 680 | ||
681 | static int pcc_drv_pcmcia_resume(struct platform_device *dev) | 681 | static int pcc_drv_pcmcia_resume(struct platform_device *dev) |