From: H Hartley Sweeten Date: Sat, 26 Jan 2013 00:33:00 +0000 (-0700) Subject: staging: comedi: ni_mio_cs: cleanup pcmcia_driver X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a7538b8271b2abe6fa4cc8b8ce684d2970de1bfb;p=openwrt%2Fstaging%2Fblogic.git 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: H Hartley Sweeten Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c index 2feeff25ccf8..47ce237fb278 100644 --- a/drivers/staging/comedi/drivers/ni_mio_cs.c +++ b/drivers/staging/comedi/drivers/ni_mio_cs.c @@ -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);