Skip to content

Commit

Permalink
staging: comedi: ni_mio_cs: remove pcmcia_driver suspend/resume
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jan 30, 2013
1 parent b8f4c93 commit 63e563a
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions drivers/staging/comedi/drivers/ni_mio_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit 63e563a

Please sign in to comment.