This series of patches applies _info API of hwmon core to the ina3221 hwmon driver. Nicolin Chen (2): hwmon: (core) Add hwmon_in_enable attribute hwmon: (ina3221) Use _info API to register hwmon device drivers/hwmon/hwmon.c | 1 + drivers/hwmon/ina3221.c | 528 +++++++++++++++++++--------------------- include/linux/hwmon.h | 2 + 3 files changed, 248 insertions(+), 283 deletions(-) -- 2.17.1