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,
.remove = &cs_detach,
.suspend = &mio_cs_suspend,
.resume = &mio_cs_resume,
.id_table = ni_mio_cs_ids,
.owner = THIS_MODULE,
.name = "ni_mio_cs", .name = "ni_mio_cs",
.owner = THIS_MODULE,
.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); 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