Skip to content
Commit 915d4664 authored by Michael Shych's avatar Michael Shych Committed by Guenter Roeck
Browse files

hwmon: (powr1220) Upgrade driver to support hwmon info infrastructure



Reduce code by using devm_hwmon_device_register_with_groups() API by
devm_hwmon_device_register_with_info() API.
The motivation is to reduce code and to allow easy support for similar
devices by the same driver.

Signed-off-by: default avatarMichael Shych <michaelsh@nvidia.com>
Reviewed-by: default avatarVadim Pasternak <vadimp@nvidia.com>
Link: https://lore.kernel.org/r/20220118075611.10665-3-michaelsh@nvidia.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 15b1c188
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment