linux-hwmon.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()
@ 2019-07-21 22:55 Grant McEwan
  2019-07-21 22:55 ` [PATCH v2 1/1] " Grant McEwan
  0 siblings, 1 reply; 3+ messages in thread
From: Grant McEwan @ 2019-07-21 22:55 UTC (permalink / raw)
  To: jdelvare, linux; +Cc: linux-hwmon, linux-kernel, Grant McEwan

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-22 18:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-21 22:55 [PATCH v2 0/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups() Grant McEwan
2019-07-21 22:55 ` [PATCH v2 1/1] " Grant McEwan
2019-07-22 18:35   ` Guenter Roeck

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).