From: Grant McEwan <grant.mcewan@alliedtelesis.co.nz>
To: jdelvare@suse.com, linux@roeck-us.net
Cc: linux-hwmon@vger.kernel.org, linux-kernel@vger.kernel.org,
Grant McEwan <grant.mcewan@alliedtelesis.co.nz>
Subject: [PATCH v2 0/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()
Date: Mon, 22 Jul 2019 10:55:29 +1200 [thread overview]
Message-ID: <20190721225530.28799-1-grant.mcewan@alliedtelesis.co.nz> (raw)
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
next reply other threads:[~2019-07-21 22:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-21 22:55 Grant McEwan [this message]
2019-07-21 22:55 ` [PATCH v2 1/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups() Grant McEwan
2019-07-22 18:35 ` Guenter Roeck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190721225530.28799-1-grant.mcewan@alliedtelesis.co.nz \
--to=grant.mcewan@alliedtelesis.co.nz \
--cc=jdelvare@suse.com \
--cc=linux-hwmon@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@roeck-us.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).