Commit 54e22bbf authored by Ian Abbott's avatar Ian Abbott Committed by Greg Kroah-Hartman

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: default avatarIan Abbott <abbotti@mev.co.uk>
Reviewed-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 852d3f91
......@@ -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 {
......
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