hwmon: (amc6821) Convert to with_info API

Convert to use with_info API to simplify the code and make it easier
to maintain. This also reduces code size by approximately 20%.

No functional change intended.

Reviewed-by: Quentin Schulz <quentin.schulz@cherry.de>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck
2024-07-08 07:52:36 -07:00
parent a051d507ba
commit e98ab50e1f
+390 -354
View File
File diff suppressed because it is too large Load Diff