Skip to content

Commit

Permalink
staging: comedi: ni_mio_cs: cleanup pcmcia_driver
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
H Hartley Sweeten authored and Greg Kroah-Hartman committed Jan 30, 2013
1 parent 27629c6 commit a7538b8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions drivers/staging/comedi/drivers/ni_mio_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit a7538b8

Please sign in to comment.