Commit 098303ca authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: ni_labpc_cs: cleanup pcmcia_driver

For aesthetic reasons, reorder the pcmcia_driver variables and
add some whitespace.
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 3e6c1833
...@@ -266,17 +266,16 @@ static const struct pcmcia_device_id labpc_cs_ids[] = { ...@@ -266,17 +266,16 @@ static const struct pcmcia_device_id labpc_cs_ids[] = {
PCMCIA_DEVICE_MANF_CARD(0x010b, 0x0103), /* daqcard-1200 */ PCMCIA_DEVICE_MANF_CARD(0x010b, 0x0103), /* daqcard-1200 */
PCMCIA_DEVICE_NULL PCMCIA_DEVICE_NULL
}; };
MODULE_DEVICE_TABLE(pcmcia, labpc_cs_ids); MODULE_DEVICE_TABLE(pcmcia, labpc_cs_ids);
static struct pcmcia_driver labpc_cs_driver = { static struct pcmcia_driver labpc_cs_driver = {
.probe = labpc_cs_attach, .name = "daqcard-1200",
.remove = labpc_cs_detach, .owner = THIS_MODULE,
.suspend = labpc_cs_suspend, .id_table = labpc_cs_ids,
.resume = labpc_cs_resume, .probe = labpc_cs_attach,
.id_table = labpc_cs_ids, .remove = labpc_cs_detach,
.owner = THIS_MODULE, .suspend = labpc_cs_suspend,
.name = "daqcard-1200", .resume = labpc_cs_resume,
}; };
module_comedi_pcmcia_driver(driver_labpc_cs, labpc_cs_driver); module_comedi_pcmcia_driver(driver_labpc_cs, labpc_cs_driver);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment