OSDN Git Service

staging: comedi: amplc_dio200: tidy up comedi_driver declaration
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Tue, 12 Aug 2014 18:17:16 +0000 (11:17 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 16 Aug 2014 19:23:24 +0000 (12:23 -0700)
For aesthetics, add some whitespace to the declaration.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/amplc_dio200.c

index e99012e..83a99c3 100644 (file)
@@ -270,13 +270,13 @@ static void dio200_detach(struct comedi_device *dev)
 }
 
 static struct comedi_driver amplc_dio200_driver = {
-       .driver_name = "amplc_dio200",
-       .module = THIS_MODULE,
-       .attach = dio200_attach,
-       .detach = dio200_detach,
-       .board_name = &dio200_isa_boards[0].name,
-       .offset = sizeof(struct dio200_board),
-       .num_names = ARRAY_SIZE(dio200_isa_boards),
+       .driver_name    = "amplc_dio200",
+       .module         = THIS_MODULE,
+       .attach         = dio200_attach,
+       .detach         = dio200_detach,
+       .board_name     = &dio200_isa_boards[0].name,
+       .offset         = sizeof(struct dio200_board),
+       .num_names      = ARRAY_SIZE(dio200_isa_boards),
 };
 module_comedi_driver(amplc_dio200_driver);