summaryrefslogtreecommitdiff
path: root/drivers/power/supply/max77976_charger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/power/supply/max77976_charger.c')
-rw-r--r--drivers/power/supply/max77976_charger.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/power/supply/max77976_charger.c b/drivers/power/supply/max77976_charger.c
index 99659dc8f5a6..d7e520da7688 100644
--- a/drivers/power/supply/max77976_charger.c
+++ b/drivers/power/supply/max77976_charger.c
@@ -483,8 +483,8 @@ static int max77976_probe(struct i2c_client *client)
}
static const struct i2c_device_id max77976_i2c_id[] = {
- { MAX77976_DRIVER_NAME, 0 },
- { },
+ { MAX77976_DRIVER_NAME },
+ { }
};
MODULE_DEVICE_TABLE(i2c, max77976_i2c_id);