staging: comedi: ni_daq_dio24: cleanup pcmcia_driver
For aesthetic reasons, reorder the pcmcia_driver variables and add some whitespace. 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>
This commit is contained in:
parent
573c43f30e
commit
7b725aaedd
1 changed files with 7 additions and 9 deletions
|
@ -301,19 +301,17 @@ static const struct pcmcia_device_id dio24_cs_ids[] = {
|
||||||
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x475c), /* daqcard-dio24 */
|
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x475c), /* daqcard-dio24 */
|
||||||
PCMCIA_DEVICE_NULL
|
PCMCIA_DEVICE_NULL
|
||||||
};
|
};
|
||||||
|
|
||||||
MODULE_DEVICE_TABLE(pcmcia, dio24_cs_ids);
|
MODULE_DEVICE_TABLE(pcmcia, dio24_cs_ids);
|
||||||
|
|
||||||
static struct pcmcia_driver dio24_cs_driver = {
|
static struct pcmcia_driver dio24_cs_driver = {
|
||||||
|
.name = "ni_daq_dio24",
|
||||||
|
.owner = THIS_MODULE,
|
||||||
|
.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,
|
.suspend = dio24_cs_suspend,
|
||||||
.resume = dio24_cs_resume,
|
.resume = dio24_cs_resume,
|
||||||
.id_table = dio24_cs_ids,
|
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.name = "ni_daq_dio24",
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module_comedi_pcmcia_driver(driver_dio24, dio24_cs_driver);
|
module_comedi_pcmcia_driver(driver_dio24, dio24_cs_driver);
|
||||||
|
|
||||||
MODULE_AUTHOR("Daniel Vecino Castel <dvecino@able.es>");
|
MODULE_AUTHOR("Daniel Vecino Castel <dvecino@able.es>");
|
||||||
|
|
Loading…
Add table
Reference in a new issue