mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-03 01:36:52 +09:00
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:
committed by
Greg Kroah-Hartman
parent
120bdac737
commit
fd62ef0058
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user