]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (amc6821) Convert to with_info API
authorGuenter Roeck <linux@roeck-us.net>
Thu, 27 Jun 2024 00:20:40 +0000 (17:20 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 8 Jul 2024 14:52:36 +0000 (07:52 -0700)
commite98ab50e1f2dd6ab8d1bddae4f9857725defafbc
treee6ae83792bc6b0b6e542f6302a213ce528258e65
parenta051d507ba1718e0e833f3d8d80defc85ca20c2d
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>
drivers/hwmon/amc6821.c