aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/sg2042-mcu.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon/sg2042-mcu.c')
-rw-r--r--drivers/hwmon/sg2042-mcu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/sg2042-mcu.c b/drivers/hwmon/sg2042-mcu.c
index 141045769354..aa3fb773602c 100644
--- a/drivers/hwmon/sg2042-mcu.c
+++ b/drivers/hwmon/sg2042-mcu.c
@@ -346,8 +346,8 @@ static void sg2042_mcu_i2c_remove(struct i2c_client *client)
}
static const struct i2c_device_id sg2042_mcu_id[] = {
- { "sg2042-hwmon-mcu", 0 },
- {},
+ { "sg2042-hwmon-mcu" },
+ { }
};
MODULE_DEVICE_TABLE(i2c, sg2042_mcu_id);