[PATCH v2 0/3] Enhancements for tmp51x driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux