staging: comedi: daqboard2000: use designated initializers
Replace the undesignated initializers for each element of `db2k_boardtypes[]` with an equivalent designated initializer for ease of future maintenance. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
852d3f917a
commit
54e22bbf11
|
@ -251,8 +251,14 @@ struct db2k_boardtype {
|
|||
};
|
||||
|
||||
static const struct db2k_boardtype db2k_boardtypes[] = {
|
||||
{"ids2", DB2K_SUBSYSTEM_IDS2},
|
||||
{"ids4", DB2K_SUBSYSTEM_IDS4},
|
||||
{
|
||||
.name = "ids2",
|
||||
.id = DB2K_SUBSYSTEM_IDS2,
|
||||
},
|
||||
{
|
||||
.name = "ids4",
|
||||
.id = DB2K_SUBSYSTEM_IDS4,
|
||||
},
|
||||
};
|
||||
|
||||
struct db2k_private {
|
||||
|
|
Loading…
Reference in New Issue