kernel/drivers/hwmon/tmp513.c
.. .. @@ -434,7 +434,7 @@ 434 434 435 435 switch (type) { 436 436 case hwmon_temp: 437 - if (data->id == tmp512 && channel == 4)437 + if (data->id == tmp512 && channel == 3)438 438 return 0; 439 439 switch (attr) { 440 440 case hwmon_temp_input: .. .. @@ -758,7 +758,7 @@ 758 758 static struct i2c_driver tmp51x_driver = { 759 759 .driver = { 760 760 .name = "tmp51x", 761 - .of_match_table = of_match_ptr(tmp51x_of_match),761 + .of_match_table = tmp51x_of_match,762 762 }, 763 763 .probe_new = tmp51x_probe, 764 764 .id_table = tmp51x_id,