]> www.infradead.org Git - users/jedix/linux-maple.git/commit
hwmon: (max1668) Convert to use with_info hwmon API
authorGuenter Roeck <linux@roeck-us.net>
Mon, 15 Jul 2024 14:48:24 +0000 (07:48 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 31 Jul 2024 17:43:53 +0000 (10:43 -0700)
commitc1b93b5414b48054600c96e28c325ad5920a47e6
treeed348ed5fa9cff436f6a8d388bf9403c87802967
parent355c529077b61aadf68910dc103dd54c30ec24d5
hwmon: (max1668) Convert to use with_info hwmon API

Convert to use with_info API to simplify the code and to reduce its size.

This patch reduces object file size by approximately 25%.

Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/max1668.c