staging: comedi: rtd520: rename rtd520Boards
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>
This commit is contained in:
parent
120bdac737
commit
fd62ef0058
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue