[PATCH v2 0/3] hwmon: (emc1403) Various improvements

From: Guenter Roeck
Date: Fri May 03 2024 - 11:43:56 EST


The first patch of the series converts the driver to register with the
hwmon subsystem using devm_hwmon_device_register_with_info() instead of
devm_hwmon_device_register_with_groups().

The second patch adds support for 11-bit sensor and limit register
accuracy.

The third patch adds support for update_interval attribute.

The changes were module tested with the script at
https://github.com/groeck/module-tests/blob/master/scripts/emc1403.sh

v2: Reworked first patch of the series to prepare for subsequent patches.
Added patch 2 and 3.

----------------------------------------------------------------
Guenter Roeck (3):
hwmon: (emc1403) Convert to with_info API
hwmon: (emc1403) Support 11 bit accuracy
hwmon: (emc1403) Add support for conversion interval configuration

drivers/hwmon/emc1403.c | 749 +++++++++++++++++++++++++++++-------------------
1 file changed, 453 insertions(+), 296 deletions(-)