summaryrefslogtreecommitdiff
path: root/drivers/i2c
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2010-02-11 12:14:23 -0800
committerDavid S. Miller <davem@davemloft.net>2010-02-11 12:14:23 -0800
commit8e5574211d96c0552f84c757718475fdb4021be7 (patch)
treec2b9201e104fbc8a2b714cba32ca175c5db73926 /drivers/i2c
parent92eb879ff59c5995bf18f76eb0a00cb7db758e42 (diff)
ethtool: Use explicit designated initializers for .cmd
Initialize the .cmd member of various ethtool using a designated struct initializer rather. This makes things a teeny bit more robust, although the chance of a struct layout changing is extremely remote, and also makes the code a little easier to read. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions