mbox series

[0/3] hwmon: (adm9240) driver updates

Message ID 20200924085102.15219-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series hwmon: (adm9240) driver updates | expand

Message

Chris Packham Sept. 24, 2020, 8:50 a.m. UTC
This series makes some improvements to the adm9240 driver. The main benefit is
the addition of error handling (courtesy of regmap) so that i2c bus errors can
be distinguished from sensor values.

Chris Packham (3):
  hwmon: (adm9240) Use loops to avoid duplicated code
  hwmon: (adm9240) Create functions for updating measure and config
  hwmon: (adm9240) Convert to regmap

 drivers/hwmon/adm9240.c | 351 +++++++++++++++++++++++++++-------------
 1 file changed, 241 insertions(+), 110 deletions(-)