[PATCH v2 0/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()

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

 



V2: 
Addressing maintainer feedback,
- Increased attribute array from 8 to 9, to accommodate NULL terminator.
- Removed #define ATTR_GROUP_COUNT.
- Replaced hwmon_device_register_with_groups() with 
  devm_hwmon_device_register_with_groups() api.
- Removed the adt7475_remove_files() as no longer necessary with new API.
- Replaced goto eremove calls, with simple returns.
- Removed .remove function. 

Grant McEwan (1):
  hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()

 drivers/hwmon/adt7475.c | 146 ++++++++++++++--------------------------
 1 file changed, 50 insertions(+), 96 deletions(-)

-- 
2.22.0




[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux