Convert enum->pointer for data in the match tables, so that device_get_match_data() can do match against OF/ACPI/I2C tables, once i2c bus type match support added to it. This patch series is only compile tested. Biju Das (2): hwmon: tmp513: Convert enum->pointer for data in the match tables hwmon: tmp513: Add temp_config to struct tmp51x_info drivers/hwmon/tmp513.c | 51 ++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 24 deletions(-) -- 2.25.1