Skip to content
Commit 5720a18b authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: Deprecate [devm_]hwmon_device_register_with_groups



Even though the hardware monitoring documentation already stated that new
drivers should use [devm_]devm_hwmon_device_register_with_info() to
register with the hardware monitoring subsystem, we still get submissions
for new drivers using the older APIs. There is no benefit to use those
APIs. On the contrary, using the older APIs results in substantially larger
code size. Explicitly deprecate [devm_]hwmon_device_register_with_groups()
to ensure that all new drivers use the latest API.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent a1ffd3c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment