diff options
Diffstat (limited to 'drivers/hwmon/max127.c')
-rw-r--r-- | drivers/hwmon/max127.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/hwmon/max127.c b/drivers/hwmon/max127.c index ee5ead06d612..a9aab8862f5e 100644 --- a/drivers/hwmon/max127.c +++ b/drivers/hwmon/max127.c @@ -329,13 +329,12 @@ static int max127_probe(struct i2c_client *client) } static const struct i2c_device_id max127_id[] = { - { "max127", 0 }, + { "max127" }, { } }; MODULE_DEVICE_TABLE(i2c, max127_id); static struct i2c_driver max127_driver = { - .class = I2C_CLASS_HWMON, .driver = { .name = "max127", }, |