i2c: Get rid of struct i2c_client_address_data
[firefly-linux-kernel-4.4.55.git] / drivers / hwmon / adm1021.c
index 3ebcdd9c25a5357dbaa7fd8c59e6eaa876d62c9c..d7af039a4d430aa779eb7ff032fddd90dfaf71cf 100644 (file)
@@ -130,7 +130,7 @@ static struct i2c_driver adm1021_driver = {
        .remove         = adm1021_remove,
        .id_table       = adm1021_id,
        .detect         = adm1021_detect,
-       .address_data   = &addr_data,
+       .address_list   = normal_i2c,
 };
 
 static ssize_t show_temp(struct device *dev,