Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7044ae81 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: ni_daq_dio24: 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: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0bfc02b8
Loading
Loading
Loading
Loading
+0 −14
Original line number Original line Diff line number Diff line
@@ -261,18 +261,6 @@ static void dio24_config(struct pcmcia_device *link)
	pcmcia_disable_device(link);
	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[] = {
static const struct pcmcia_device_id dio24_cs_ids[] = {
	/* N.B. These IDs should match those in dio24_boards */
	/* N.B. These IDs should match those in dio24_boards */
	PCMCIA_DEVICE_MANF_CARD(0x010b, 0x475c),	/* daqcard-dio24 */
	PCMCIA_DEVICE_MANF_CARD(0x010b, 0x475c),	/* daqcard-dio24 */
@@ -286,8 +274,6 @@ static struct pcmcia_driver dio24_cs_driver = {
	.id_table	= dio24_cs_ids,
	.id_table	= dio24_cs_ids,
	.probe		= dio24_cs_attach,
	.probe		= dio24_cs_attach,
	.remove		= dio24_cs_detach,
	.remove		= dio24_cs_detach,
	.suspend	= dio24_cs_suspend,
	.resume		= dio24_cs_resume,
};
};
module_comedi_pcmcia_driver(driver_dio24, dio24_cs_driver);
module_comedi_pcmcia_driver(driver_dio24, dio24_cs_driver);