staging: comedi: ni_mio_cs: cleanup pcmcia_driver
authorH Hartley Sweeten <hartleys@visionengravers.com>
Sat, 26 Jan 2013 00:33:00 +0000 (17:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jan 2013 04:08:22 +0000 (23:08 -0500)
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: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_cs.c

index 2feeff25ccf8751b31f1549f64086b2ea79434f8..47ce237fb2781d8b4ecdcff6ba67838e98e10453 100644 (file)
@@ -419,13 +419,13 @@ static const struct pcmcia_device_id ni_mio_cs_ids[] = {
 MODULE_DEVICE_TABLE(pcmcia, ni_mio_cs_ids);
 
 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);