summaryrefslogtreecommitdiff
path: root/drivers/regulator/mt6311-regulator.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator/mt6311-regulator.c')
-rw-r--r--drivers/regulator/mt6311-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/mt6311-regulator.c b/drivers/regulator/mt6311-regulator.c
index c00638cd2d1e..2ebc1c0b5e6f 100644
--- a/drivers/regulator/mt6311-regulator.c
+++ b/drivers/regulator/mt6311-regulator.c
@@ -133,8 +133,8 @@ static int mt6311_i2c_probe(struct i2c_client *i2c)
}
static const struct i2c_device_id mt6311_i2c_id[] = {
- {"mt6311", 0},
- {},
+ { "mt6311" },
+ {}
};
MODULE_DEVICE_TABLE(i2c, mt6311_i2c_id);