From: H Hartley Sweeten Date: Sat, 26 Jan 2013 00:33:37 +0000 (-0700) Subject: staging: comedi: ni_mio_cs: remove pcmcia_driver suspend/resume X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=63e563af82e643cc0aaf3409fea2328809f2cf36;p=openwrt%2Fstaging%2Fblogic.git staging: comedi: ni_mio_cs: remove pcmcia_driver suspend/resume 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c index c4ab3b64876a..1099b8b072f1 100644 --- a/drivers/staging/comedi/drivers/ni_mio_cs.c +++ b/drivers/staging/comedi/drivers/ni_mio_cs.c @@ -272,20 +272,6 @@ static void cs_detach(struct pcmcia_device *link) cs_release(link); } -static int mio_cs_suspend(struct pcmcia_device *link) -{ - DPRINTK("pm suspend\n"); - - return 0; -} - -static int mio_cs_resume(struct pcmcia_device *link) -{ - DPRINTK("pm resume\n"); - return 0; -} - - static int mio_pcmcia_config_loop(struct pcmcia_device *p_dev, void *priv_data) { int base, ret; @@ -423,8 +409,6 @@ static struct pcmcia_driver ni_mio_cs_driver = { .id_table = ni_mio_cs_ids, .probe = cs_attach, .remove = cs_detach, - .suspend = mio_cs_suspend, - .resume = mio_cs_resume, }; module_comedi_pcmcia_driver(driver_ni_mio_cs, ni_mio_cs_driver);