staging: comedi: ni_daq_dio24: remove pcmcia_driver suspend/resume
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 30 Jan 2013 23:43:22 +0000 (16:43 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 01:27:36 +0000 (19:27 -0600)
The pcmcia_driver suspend and resume functions in this driver
don't do anything. Since they are optional just remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_daq_dio24.c

index 51c25ac0dcae5d4c70a100e11652fb511ecfc898..4cdf928ffb7c5f460bbc0222984150738ce3a815 100644 (file)
@@ -261,18 +261,6 @@ failed:
        pcmcia_disable_device(link);
 }
 
-static int dio24_cs_suspend(struct pcmcia_device *link)
-{
-       return 0;
-}                              /* dio24_cs_suspend */
-
-static int dio24_cs_resume(struct pcmcia_device *link)
-{
-       return 0;
-}                              /* dio24_cs_resume */
-
-/*====================================================================*/
-
 static const struct pcmcia_device_id dio24_cs_ids[] = {
        /* N.B. These IDs should match those in dio24_boards */
        PCMCIA_DEVICE_MANF_CARD(0x010b, 0x475c),        /* daqcard-dio24 */
@@ -286,8 +274,6 @@ static struct pcmcia_driver dio24_cs_driver = {
        .id_table       = dio24_cs_ids,
        .probe          = dio24_cs_attach,
        .remove         = dio24_cs_detach,
-       .suspend        = dio24_cs_suspend,
-       .resume         = dio24_cs_resume,
 };
 module_comedi_pcmcia_driver(driver_dio24, dio24_cs_driver);