[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190721225530.28799-1-grant.mcewan@alliedtelesis.co.nz>
Date: Mon, 22 Jul 2019 10:55:29 +1200
From: Grant McEwan <grant.mcewan@...iedtelesis.co.nz>
To: jdelvare@...e.com, linux@...ck-us.net
Cc: linux-hwmon@...r.kernel.org, linux-kernel@...r.kernel.org,
Grant McEwan <grant.mcewan@...iedtelesis.co.nz>
Subject: [PATCH v2 0/1] hwmon: (adt7475) Convert to use hwmon_device_register_with_groups()
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
Powered by blists - more mailing lists