This patch series aims to add enhancements for tmp51x driver. * patch#1 fixes channel number in tmp51x_is_visible(). * patch#2 simplifies probe() * Patch#3 avoids using enum chip id for HW differences and improves the code by avoiding checks. This patch series is only compile tested. v1->v2: * Created 2 new patches. Patch#1 for fixing channel number in tmp51x_is_visible() and patch#3 avoids using enum chip id for HW differences and improves the code by avoiding checks. Biju Das (3): hwmon: tmp513: Fix the channel number in tmp51x_is_visible() hwmon: tmp513: Simplify probe() hwmon: tmp513: Replace tmp51x_ids->max_channels in struct tmp51x_data drivers/hwmon/tmp513.c | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) -- 2.25.1