mbox series

[v2,0/3] Enhancements for tmp51x driver

Message ID 20230824204456.401580-1-biju.das.jz@bp.renesas.com (mailing list archive)
Headers show
Series Enhancements for tmp51x driver | expand

Message

Biju Das Aug. 24, 2023, 8:44 p.m. UTC
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(-)