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

staging: comedi: ni_mio_cs: cleanup pcmcia_driver

For aesthetic reasons, reorder the pcmcia_driver variables and
add some whitespace.

Also, remove the unnecessary '&' before the function names. They
are already addresses.
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 27629c60
...@@ -419,13 +419,13 @@ static const struct pcmcia_device_id ni_mio_cs_ids[] = { ...@@ -419,13 +419,13 @@ static const struct pcmcia_device_id ni_mio_cs_ids[] = {
MODULE_DEVICE_TABLE(pcmcia, ni_mio_cs_ids); MODULE_DEVICE_TABLE(pcmcia, ni_mio_cs_ids);
static struct pcmcia_driver ni_mio_cs_driver = { static struct pcmcia_driver ni_mio_cs_driver = {
.probe = &cs_attach, .name = "ni_mio_cs",
.remove = &cs_detach, .owner = THIS_MODULE,
.suspend = &mio_cs_suspend, .id_table = ni_mio_cs_ids,
.resume = &mio_cs_resume, .probe = cs_attach,
.id_table = ni_mio_cs_ids, .remove = cs_detach,
.owner = THIS_MODULE, .suspend = mio_cs_suspend,
.name = "ni_mio_cs", .resume = mio_cs_resume,
}; };
module_comedi_pcmcia_driver(driver_ni_mio_cs, ni_mio_cs_driver); module_comedi_pcmcia_driver(driver_ni_mio_cs, ni_mio_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