staging: comedi: rtd520: rename rtd520Boards
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Fri, 25 Sep 2015 00:52:04 +0000 (17:52 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 29 Sep 2015 01:32:21 +0000 (03:32 +0200)
For aesthetics, rename this CamelCase array.

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/rtd520.c

index 49cbf48d1497bd33924ea7de31ff29117445a89d..f93a6e32671f3afb04ddef47fdb161650b699744 100644 (file)
@@ -352,7 +352,7 @@ struct rtd_boardinfo {
        const struct comedi_lrange *ai_range;
 };
 
-static const struct rtd_boardinfo rtd520Boards[] = {
+static const struct rtd_boardinfo rtd520_boards[] = {
        [BOARD_DM7520] = {
                .name           = "DM7520",
                .range_bip10    = 6,
@@ -1195,8 +1195,8 @@ static int rtd_auto_attach(struct comedi_device *dev,
        struct comedi_subdevice *s;
        int ret;
 
-       if (context < ARRAY_SIZE(rtd520Boards))
-               board = &rtd520Boards[context];
+       if (context < ARRAY_SIZE(rtd520_boards))
+               board = &rtd520_boards[context];
        if (!board)
                return -ENODEV;
        dev->board_ptr = board;