Commit fd62ef00 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: rtd520: rename rtd520Boards

For aesthetics, rename this CamelCase array.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 120bdac7
...@@ -352,7 +352,7 @@ struct rtd_boardinfo { ...@@ -352,7 +352,7 @@ struct rtd_boardinfo {
const struct comedi_lrange *ai_range; const struct comedi_lrange *ai_range;
}; };
static const struct rtd_boardinfo rtd520Boards[] = { static const struct rtd_boardinfo rtd520_boards[] = {
[BOARD_DM7520] = { [BOARD_DM7520] = {
.name = "DM7520", .name = "DM7520",
.range_bip10 = 6, .range_bip10 = 6,
...@@ -1195,8 +1195,8 @@ static int rtd_auto_attach(struct comedi_device *dev, ...@@ -1195,8 +1195,8 @@ static int rtd_auto_attach(struct comedi_device *dev,
struct comedi_subdevice *s; struct comedi_subdevice *s;
int ret; int ret;
if (context < ARRAY_SIZE(rtd520Boards)) if (context < ARRAY_SIZE(rtd520_boards))
board = &rtd520Boards[context]; board = &rtd520_boards[context];
if (!board) if (!board)
return -ENODEV; return -ENODEV;
dev->board_ptr = board; dev->board_ptr = board;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment