pcmcia: make use of pcmcia_dev_resume() return value
authorDominik Brodowski <linux@dominikbrodowski.net>
Tue, 29 Dec 2009 17:21:39 +0000 (18:21 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sun, 17 Jan 2010 17:30:05 +0000 (18:30 +0100)
commit933a838aa1aae8388438bb002fbdaf6fca519a5c
treed12a160e7c82de94e9eb3de11ac047c783a52e49
parent9ddabb6700f82a033a76bcf7a547204fa12aaa17
pcmcia: make use of pcmcia_dev_resume() return value

In runtime_resume(), do not throw away the return value of
pcmcia_dev_resume(), for we can use it (at least) in
pcmcia_store_pm_state(). This also fixes the pointless assignment
previosly seen there, as noted by Dan Carpenter.

CC: Dan Carpenter <error27@gmail.com>
Tested-by: Wolfram Sang <w.sang@pengutronix.de>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/ds.c