aboutsummaryrefslogtreecommitdiff
path: root/miscutils/i2c_tools.c
diff options
context:
space:
mode:
Diffstat (limited to 'miscutils/i2c_tools.c')
-rw-r--r--miscutils/i2c_tools.c15
1 files changed, 5 insertions, 10 deletions
diff --git a/miscutils/i2c_tools.c b/miscutils/i2c_tools.c
index cc8b99a92..09364e396 100644
--- a/miscutils/i2c_tools.c
+++ b/miscutils/i2c_tools.c
@@ -1053,18 +1053,13 @@ struct adap_desc {
};
static const struct adap_desc adap_descs[] = {
- { .funcs = "dummy",
- .algo = "Dummy bus", },
- { .funcs = "isa",
- .algo = "ISA bus", },
- { .funcs = "i2c",
- .algo = "I2C adapter", },
- { .funcs = "smbus",
- .algo = "SMBus adapter", },
+ { .funcs = "dummy", .algo = "Dummy bus", },
+ { .funcs = "isa", .algo = "ISA bus", },
+ { .funcs = "i2c", .algo = "I2C adapter", },
+ { .funcs = "smbus", .algo = "SMBus adapter", },
};
-struct i2c_func
-{
+struct i2c_func {
long value;
const char* name;
};